summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1996-08-28Clean up th ecompile process by centralizing the include filesMarc G. Fournier
- code compile tested, but due to a yet unresolved problem with parse.h's creation, compile not completed...
1996-08-28Went back one directory too far for the -I includeMarc G. Fournier
1996-08-28Path to pg_proc.h to create fmgrtab.c change to include/catalogMarc G. Fournier
1996-08-28More cleanups of the include filesMarc G. Fournier
- centralizing to simplify the -I's required to compile
1996-08-28Moved the include files to src/include/regexMarc G. Fournier
1996-08-28Redundant -I pointer to port/<portname>Marc G. Fournier
1996-08-28c.h is included in postgres.h alreadyMarc G. Fournier
1996-08-27Should finish cleaning out the machine.h includesMarc G. Fournier
1996-08-27Remove include of machine.hMarc G. Fournier
1996-08-27Remove all traces of machine.h and redundant calls to c.h whereMarc G. Fournier
postgres.h already pulled in (postgres.h includes c.h)
1996-08-27#ifndef the include file like the rest, so that it doesn't get pulledMarc G. Fournier
in twice...
1996-08-27Oops, win32 does have one more thing in its machine.h...move thatMarc G. Fournier
define to config.h
1996-08-27We have a machine.h for each platform just because of BLCKSZ, and everyMarc G. Fournier
platform with a machine.h has the same BLCKSZ? Consolidate machine.h into config.h
1996-08-27#include "postgres.h" exists in most .c files in system, so addingMarc G. Fournier
#include "config.h" here will (should?) ensure that any platform dependencies defined in config.h should be reflected in all .c files...
1996-08-27Moved from backend/access to include/accessMarc G. Fournier
1996-08-27The use of include files is a mess...alot of redundancy, it seems...Marc G. Fournier
First Step: Centralize them under on src/include hierarchy
1996-08-27added #include "config.h" for ESCAPE_PATCH defineMarc G. Fournier
1996-08-27Removed -DESCAPE_PATCH ... moved to include/config.hMarc G. Fournier
1996-08-27At this rate, maybe next year sometime I'll get this done...Marc G. Fournier
Goals: reduce the difficulty of porting from platform to platform, release to release, but moving as much as possible into config.h
1996-08-27One file at a time, one directory after the other...this is goingMarc G. Fournier
to be one helluva chore to clean up...
1996-08-27first attempt at centralizing config information for portsMarc G. Fournier
1996-08-27first pass...move some of the "Port" dependencies to src/include/config.hMarc G. Fournier
1996-08-27Reduce -DPORTNAME_$(PORTNAME) down to just -D$(PORTNAME)Marc G. Fournier
1996-08-27Its a start...Marc G. Fournier
1996-08-27Create support for a "common" include directory for the sourceMarc G. Fournier
tree, instead of having include files all over the place... Immediate goal...a 'config.h' file so that we can make #ifdef's being used throughout the code more a rarity as far as porting is concerned
1996-08-26Damn, we really need to clean up this "include file" dilemna...Marc G. Fournier
include files *everywhere* ;(
1996-08-26The patch that is applied at the end of the email makes sure that theseMarc G. Fournier
conditions are always met. The patch can be applied to any version of Postgres95 from 1.02 to 1.05. After applying the patch, queries using indices on bpchar and varchar fields should (hopefully ;-) ) always return the same tuple set regardless to the fact whether indices are used or not. Submitted by: Gerhard Reithofer <tbr_laa@AON.AT>
1996-08-26Oops, thanks to Dan McGuirk for pointing out that I missed part ofMarc G. Fournier
the commit :( Here's the rest of the GiST code thta was missing...
1996-08-26Quick fix of the PG-GiST import pointed out by DanMarc G. Fournier
1996-08-26There, now we support GiST...now what? :)Marc G. Fournier
1996-08-26Roll in patch that fixes problem with sed 3.0Marc G. Fournier
submitted by: Dan McGuirk
1996-08-26Fix prototype for dumpClassesMarc G. Fournier
1996-08-24This patch for Versions 1 and 2 corrects the following bug:Marc G. Fournier
In a catalog class that has a "name" type attribute, UPDATEing of an instance of that class may destroy all of the attributes of that instance that are stored as or after the "name" attribute. This is caused by the alignment value of the "name" type being set to "double" in Class pg_type, but "integer" in Class pg_attribute. Postgres constructs a tuple using double alignment, but interprets it using integer alignment. The fix is to change the alignment to integer in pg_type. Note that this corrects the problem for new Postgres systems. Existing databases already contain the error and it can't easily be repaired because this very bug prevents updating the class that contains it. -- Bryan Henderson Phone 408-227-6803 San Jose, California
1996-08-24The patch does several things:Marc G. Fournier
It adds a WITH OIDS option to the copy command, which allows dumping and loading of oids. If a copy command tried to load in an oid that is greater than its current system max oid, the system max oid is incremented. No checking is done to see if other backends are running and have cached oids. pg_dump as its first step when using the -o (oid) option, will copy in a dummy row to set the system max oid value so as rows are loaded in, they are certain to be lower than the system oid. pg_dump now creates indexes at the end to speed loading Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
1996-08-24Here's the fix for the problem that Evan Champion reported today.Marc G. Fournier
This presumably corrects a problem of initdb failing on systems that have an awk that is sensitive to this. -- Bryan Henderson Phone 408-227-6803 San Jose, California
1996-08-21|May I suggest to add access to the oid of an insertedMarc G. Fournier
|record, by a small patch to libpq++? At least until the |feature that will allow dumped oid's to be re-loaded into |a database becomes available, I need access to the oids |of newly created records... To this end, I have written a |three-line wrapper for the PQoidStatus function in libpq and |named this wrapper OidStatus() (I'd appreciate suggestions for |a name that would better fit into the general naming scheme). | |Regards, | |Ernst |
1996-08-21Here's a patch for Versions 1 and 2 that fixes the following bug:Marc G. Fournier
When you try to do any UPDATE of the catalog class pg_class, such as to change ownership of a class, the backend crashes. This is really two serial bugs: 1) there is a hardcoded copy of the schema of pg_class in the postgres program, and it doesn't match the actual class that initdb creates in the database; 2) Parts of postgres determine whether to pass an attribute value by value or by reference based on the attbyval attribute of the attribute in class pg_attribute. Other parts of postgres have it hardcoded. For the relacl[] attribute in class pg_class, attbyval does not match the hardcoded expectation. The fix is to correct the hardcoded schema for pg_attribute and to change the fetchatt macro so it ignores attbyval for all variable length attributes. The fix also adds a bunch of logic documentation and extends genbki.sh so it allows source files to contain such documentation. -- Bryan Henderson Phone 408-227-6803 San Jose, California
1996-08-21USE_TCL should default to false, ntot true...Marc G. Fournier
1996-08-21BSD$$_derived needs -ltermcap for psqlMarc G. Fournier
1996-08-21Erk, missed adding the required ilbrary itselfMarc G. Fournier
1996-08-21Quick fix for compiling psql...Marc G. Fournier
1996-08-21command line flag for expanded display '-x' had logic reversedJulian Assange
1996-08-20Bring in changes to READLINE/HISTORY definesMarc G. Fournier
1996-08-19Finish adding in svr4 port to v2.0Marc G. Fournier
1996-08-19Added a SVR4 portMarc G. Fournier
--- below my signature, there are a coupls of diffs and files in a shell archive, which were needed to build postgres95 1.02 on Siemens Nixdorfs MIPS based SINIX systems. Except for the compiler switches "-W0" and "-LD-Blargedynsym" these diffs should also apply for other SVR4 based systems. The changes in "Makefile.global" and "genbki.sh" can probably be ignored (I needed gawk, to make the script run). There is one bugfix thou. In "src/backend/parser/sysfunc.c" the function in this file didn't honor the EUROPEAN_DATES ifdef. --- Submitted by: Frank Ridderbusch <ridderbusch.pad@sni.de>
1996-08-19Here's a minor fix that fixes a casting problem:Marc G. Fournier
-Kurt
1996-08-19More run-time checking errors:Marc G. Fournier
-Kurt
1996-08-19Fixes:Marc G. Fournier
Here's a couple more small fixes that I've made to make my runtime checker happy with the code. More along the lines of those that I sent in the past, ie, a pointer to an array != the name of an array. The last patch is that I mailed about yesterday -- I got two replies of "do it", so it's done. As far as I can tell, however, the function in question is never called by pg95, so either way it can't hurt... From: "Kurt J. Lidl" <lidl@va.pubnix.com>
1996-08-19Fixes:Marc G. Fournier
When you connect to a database with PQsetdb, as with psql, depending on how your uninitialized variables are set, you can get a failure with a "There is no connection to the backend" message. The fix is to move a call to PQexec() from inside connectDB() to PQsetdb() after connectDB() returns to PQsetdb(). That way a connection doesn't have to be already established in order to establish it! From: bryanh@giraffe.netgate.net (Bryan Henderson)
1996-08-19From: Dan McGuirk <mcguirk@indirect.com>Marc G. Fournier
fixed the spelling of 'nonexistent' in a few places...