summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1997-02-13Only allow NULL in the prpoer places.Bruce Momjian
1997-02-13Bring in Leo's <lsh@lubrizol.com> massive changes to libpq++Marc G. Fournier
1997-02-13Improvements to the ultrix port, in particular a bunch of compilerMarc G. Fournier
quieting prototyping in port/ultrix4.h Submitted by: Erik Bertelsen <erik@sockdev.uni-c.dk>
1997-02-13Had configure check for strdup, but didn't have it set HAVE_STRDUPMarc G. Fournier
Fixed
1997-02-13Various patches for nextstep by GregorHoffleitMarc G. Fournier
Replaced NEED_STRDUP by !HAVE_STRDUP
1997-02-13Patch for:Marc G. Fournier
The following patch to src/backend/libpq/pqpacket.c provides additional checking for bad packet length data. It was tested with the Linux telnet client, with netcat using the numbers.txt and by dumping random numbers into the port. Patch by: Alvaro Martinez Echevarria <alvaro@lander.es>
1997-02-12Removed a reference to DATADIR that still existedMarc G. Fournier
1997-02-12Patch from Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier
The following patches add to the backend a new debugging flag -K which prints a debug trace of all locking operations on user relations (those with oid greater than 20000). The code is compiled only if LOCK_MGR_DEBUG is defined, so the patch should be harmless if not explicitly enabled. I'm using the code to trace deadlock conditions caused by application queries using the command "$POSTMASTER -D $PGDATA -o '-d 1 -K 1'. The patches are for version 6.0 dated 970126.
1997-02-12Make sure we have an irix portMarc G. Fournier
Pointed out by: Dave Morrison (mirrison@mail.phy.ornl.gov)
1997-02-12What looks like some *major* improvements to btree indexing...Marc G. Fournier
Patches from: aoki@CS.Berkeley.EDU (Paul M. Aoki) i gave jolly my btree bulkload code a long, long time ago but never gave him a bunch of my bugfixes. here's a diff against the 6.0 baseline. for some reason, this code has slowed down somewhat relative to the insertion-build code on very small tables. don't know why -- it used to be within about 10%. anyway, here are some (highly unscientific!) timings on a dec 3000/300 for synthetic tables with 10k, 100k and 1000k tuples (basically, 1mb, 10mb and 100mb heaps). 'c' means clustered (pre-sorted) inputs and 'u' means unclustered (randomly ordered) inputs. the 10k table basically fits in the buffer pool, but the 100k and 1000k tables don't. as you can see, insertion build is fine if you've sorted your heaps on your index key or if your heap fits in core, but is absolutely horrible on unordered data (yes, that's 7.5 hours to index 100mb of data...) because of the zillions of random i/os. if it doesn't work for you for whatever reason, you can always turn it back off by flipping the FastBuild flag in nbtree.c. i don't have time to maintain it. good luck! baseline code: time psql -c 'create index c10 on k10 using btree (c int4_ops)' bttest real 8.6 time psql -c 'create index u10 on k10 using btree (b int4_ops)' bttest real 9.1 time psql -c 'create index c100 on k100 using btree (c int4_ops)' bttest real 59.2 time psql -c 'create index u100 on k100 using btree (b int4_ops)' bttest real 652.4 time psql -c 'create index c1000 on k1000 using btree (c int4_ops)' bttest real 636.1 time psql -c 'create index u1000 on k1000 using btree (b int4_ops)' bttest real 26772.9 bulkloading code: time psql -c 'create index c10 on k10 using btree (c int4_ops)' bttest real 11.3 time psql -c 'create index u10 on k10 using btree (b int4_ops)' bttest real 10.4 time psql -c 'create index c100 on k100 using btree (c int4_ops)' bttest real 59.5 time psql -c 'create index u100 on k100 using btree (b int4_ops)' bttest real 63.5 time psql -c 'create index c1000 on k1000 using btree (c int4_ops)' bttest real 636.9 time psql -c 'create index u1000 on k1000 using btree (b int4_ops)' bttest real 701.0
1997-02-11Assign priorities when creating jobs in lock queue.Bruce Momjian
1997-02-11Add comment for questionable 5 padding.Bruce Momjian
1997-02-11Fix \? syntax for copy command.Bruce Momjian
1997-02-09Remove machine.h, since it wasn't doing anything that config.h wasn'tMarc G. Fournier
already doing Removed only reference to a machine.h I could find in c.h, to win32/machine.h
1997-02-09Try to further reduce the PORT dependencies.Marc G. Fournier
Essentially, config.h now includes an 'os.h', which is created via configure by linking a "port.h" file from the port directory to the include directory. Going to try to merge backend/port in similar ways
1997-02-09Remove NO_{SIGPROCMASK,SETSID,WAITPID} from nextstep port, since theyMarc G. Fournier
aren't doing anything anyway
1997-02-09Changes to configure/config.h.in to check for:Marc G. Fournier
sigprocmask, setsid and waitpid Especially for nextstep systems Awaiting for a context diff from Gregor to complete changes for the nextstep port
1997-02-09Various fixes suggested by Gregor HoffleitMarc G. Fournier
Add a check to configure for strdup Remove all the '-ltermcap' checks from psql/Makefile Have {psql,pg_dump}/Makefile modified if strdup doesn't exist on the system
1997-02-09|I took a look at this and I think pg_dump mishandles arrays of ints and floatsMarc G. Fournier
|by neglecting to quote them. | |I have made a minor change to pg_dump.c that will fix this. | |Dates are dumped and restored OK with pg_dump in V6 | |We'll still need to fix the dump in both cases if the original dump is from V1.09. From Keith Parks
1997-02-08Add missing paren for hpux.Bruce Momjian
1997-02-08Oops, the port is ultrix4, not ultrixMarc G. Fournier
Pointed out by: Erik Bertelsen
1997-02-07Add in netbsd*) to configureMarc G. Fournier
Pointed out by D'Arcy
1997-02-07Add attribute optimization statistics.Bruce Momjian
1997-02-07Add ultrix to configureMarc G. Fournier
1997-02-07Add in the nextstep port so that configure will (should?) run on itMarc G. Fournier
1997-02-06The test for union semun requires <sys/ipc.h>Marc G. Fournier
Pointed out by Bruce
1997-02-06Remove extra paren in ifdef.Bruce Momjian
1997-02-06Various changes to improve/support MklinuxMarc G. Fournier
Submitted by: Tatsuo Ishii
1997-02-06Make sure all changes are committed...Marc G. Fournier
1997-02-06autoconf test for and set HAVE_VFORKMarc G. Fournier
1997-02-06Add test for union semun to configureMarc G. Fournier
Remove references to NEED_UNION_SEMUN from include/config.h.in and from include/storage/ipc.h, replacing it with a single HAVE_UNION_SEMUN
1997-02-06Change ordering of librariesMarc G. Fournier
1997-02-06Include main Makefile.global first so variables are not over-written.Bruce Momjian
1997-02-05Oops, just about forgot to commit this one too :(Marc G. Fournier
1997-02-05Get in there...Marc G. Fournier
1997-02-05Add Makefile.in so that configure can determine if inet_aton.o is requiredMarc G. Fournier
Add CFLAGS= @CPPFLAGS@ to Makefile.global and configure so that build is useful for finding extra header files Split header files from libraries in build. Doesn't make much sense to look for a header file in /usr/local/lib, nor to look for a library in /usr/local/include :)
1997-02-05Update to handle include search paths.Bruce Momjian
1997-02-04Add in appropriate checks for inet_aton, and modifications to ↵Marc G. Fournier
backend/port/Makefile to include inet_aton.c if required
1997-02-04Test for existence of inet_aton on the system, and only include inet_aton.c ifMarc G. Fournier
required Pointed out by Brian E. Gallew
1997-02-04Add in a check for AIX port and set PORTNAME accordinglyMarc G. Fournier
Pointed out by: Darren King
1997-02-04Remove a library check that isn't used right nowMarc G. Fournier
1997-02-04Add a 'build' script. All it currently does is prompts the user for ↵Marc G. Fournier
additional 'lib' directories to search to find libraries, and then runs ./configure directly
1997-02-04Add conditional for port to bsdiMarc G. Fournier
1997-02-04Fix for echo newline suppression detectionMarc G. Fournier
Submitted by: Keith Parks
1997-02-04Remove default GNUmakefile and Makefile.globalMarc G. Fournier
Change reference to Postgres95 to PostgreSQL in GNUmakefile
1997-02-04remove old non-autoconf config.hMarc G. Fournier
clean up some of the readline code in config.h.in
1997-02-04Final file required for autoconf, so far...Marc G. Fournier
1997-02-04Bring back in the autoconf files - work in progressMarc G. Fournier
1997-02-03Change references to NEED_RUSAGE to HAVE_RUSAGEMarc G. Fournier
Pointed out by:" Tatsuo Ishii <t-ishii@sra.co.jp>
1997-01-30AIX *does* have <sys/select.h>Marc G. Fournier
Pointed out by Darren King