summaryrefslogtreecommitdiff
path: root/src/port
AgeCommit message (Collapse)Author
2003-01-02flockfile/funlockfile is POSIX, so NetBSD has them too --- use them.Bruce Momjian
2003-01-02Fix BSD/OS thread file locking bug in new fseeko code.Bruce Momjian
Backpatch to 7.3.X.
2002-10-29Update comments.Bruce Momjian
2002-10-29Re-add getopt.c for MSWin psql.Bruce Momjian
2002-10-28fseeko NetBSD fix.Bruce Momjian
2002-10-24Fix include for NetBSD.Bruce Momjian
2002-10-24Add prototype include to fseeko.c.Bruce Momjian
2002-10-24Add fseeko for NetBSD.Bruce Momjian
2002-10-23Improve coding style of new function.Bruce Momjian
2002-10-23Make BSD/OS fseeko thread-safe.Bruce Momjian
2002-10-23Add fseeko/ftello using fsetpos/fgetpos for BSD/OS.Bruce Momjian
2002-09-04pgindent run.Bruce Momjian
2002-09-02Remove sys/types.h in files that include postgres.h, and hence c.h,Bruce Momjian
because c.h has sys/types.h.
2002-08-12Remove use of __P so that <sys/cdefs.h> is not needed. Per suggestionTom Lane
from Martin Renters.
2002-07-27Assemble portability modules into libpgport library.Peter Eisentraut
Some makefile simplifications.
2002-07-19Complete TODO item:Bruce Momjian
* -Add BSD-licensed qsort() for Solaris
2002-07-18Move libc replacement files from src/backend/port to src/port.Bruce Momjian
1997-04-12remove the port related .h files from the top level directory.Marc G. Fournier
Moved to include/port
1997-04-01Misc port related issuesMarc G. Fournier
1997-03-25Various patches for shared libraries under i386-solaris by:Marc G. Fournier
Christoph Kaesling <ck@dog.pfalz.sub.de>
1997-03-25MOre univel port patches/files from:Marc G. Fournier
"Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com>
1997-03-25Needs USE_POSIX_SIGNALSMarc G. Fournier
Pointed out by Dan McGuirk
1997-03-20From: "D'Arcy J.M. Cain" <darcy@druid.net>Marc G. Fournier
Subject: [HACKERS] libpq/pqcomm stuff and Solaris byte order I decided to go ahead with the required changes since no one else seems to. I don't guarantee that it is perfect but with these changes the package actually compiles. While I was at it I added to the Sparc Solaris header to define the byte order. Note that NetBSD sets this in the system headers so it wasn't required there. In particular, someone may want to check whether I removed the correct 84 lines from backend/libpq/pqcomprim.c.
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-13Various patches for nextstep by GregorHoffleitMarc G. Fournier
Replaced NEED_STRDUP by !HAVE_STRDUP
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-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