Marc G. Fournier [Fri, 28 Feb 1997 18:34:58 +0000 (18:34 +0000)]
Create a distclean make directive to handle cleaning out configure
generated files, that shouldn't be removed on a make clean
Pointed out by half the hackers mailing list :)
Marc G. Fournier [Fri, 28 Feb 1997 15:35:50 +0000 (15:35 +0000)]
Remove second 'all' directive
Pointed out by Bruce
Bruce Momjian [Fri, 28 Feb 1997 13:25:16 +0000 (13:25 +0000)]
Allow update x =-3, not just x = -3.
Bruce Momjian [Fri, 28 Feb 1997 11:58:04 +0000 (11:58 +0000)]
Remove old READMEs.
Bruce Momjian [Fri, 28 Feb 1997 10:57:47 +0000 (10:57 +0000)]
Remove SUBSYS.o in port/ on clean.
Bruce Momjian [Fri, 28 Feb 1997 10:30:29 +0000 (10:30 +0000)]
Remove win32 port directory. Forgot to do it earlier.
Bruce Momjian [Thu, 27 Feb 1997 15:05:21 +0000 (15:05 +0000)]
Updated FAQ
Marc G. Fournier [Tue, 25 Feb 1997 18:14:43 +0000 (18:14 +0000)]
Fix, I think, the stdup.o problem reported on those systems without
it.
Marc G. Fournier [Tue, 25 Feb 1997 03:38:23 +0000 (03:38 +0000)]
Change "WARN" message generated if a unique index is attempted on a table/key
containing non-unique data
Vadim B. Mikheev [Sat, 22 Feb 1997 10:08:27 +0000 (10:08 +0000)]
Added: UNIQUE feature to bulkload code.
Marc G. Fournier [Thu, 20 Feb 1997 22:54:18 +0000 (22:54 +0000)]
Make the error message output by AllocateFile() if failes to
open Nulldev a *bit* more user friendly...or, at least, admin
friendly...have it print strerror(errno) as well
Marc G. Fournier [Thu, 20 Feb 1997 18:29:45 +0000 (18:29 +0000)]
Add in port hpux to configure
Pointed out by: Mark Hollomon
Vadim B. Mikheev [Thu, 20 Feb 1997 02:54:09 +0000 (02:54 +0000)]
Fix for queries with 3 or more relations participating in
one clause.
Bruce Momjian [Wed, 19 Feb 1997 20:11:05 +0000 (20:11 +0000)]
Prevent under/over flow of float8 constants in parser. Small regression fix.
Marc G. Fournier [Wed, 19 Feb 1997 19:25:42 +0000 (19:25 +0000)]
Disable GEQO...it seems to be broken as shown by the message to
[email protected] concerning updates
Marc G. Fournier [Wed, 19 Feb 1997 14:52:06 +0000 (14:52 +0000)]
Various cleanups to satisfy -Werror, but there are some errors that I'm
not certain how to fix, so left them there and enabled -Wno-error for
this directory for now
Marc G. Fournier [Wed, 19 Feb 1997 14:29:22 +0000 (14:29 +0000)]
rearrange ordering of headers os that postgres.h is first
Marc G. Fournier [Wed, 19 Feb 1997 14:26:42 +0000 (14:26 +0000)]
Remove WIN32 stuff, and improve conformance to configure
Marc G. Fournier [Wed, 19 Feb 1997 14:14:40 +0000 (14:14 +0000)]
Didn't *quite* work the way I thought it would...default'd to clean,
not make all :( Fixed...
Marc G. Fournier [Wed, 19 Feb 1997 14:03:28 +0000 (14:03 +0000)]
Add a clean target so that the root directory gets cleared of all
the "configure" related files on a make clean
Marc G. Fournier [Wed, 19 Feb 1997 13:55:13 +0000 (13:55 +0000)]
Removed a ',' that didn't belong in the timezone test case
Pointed out by:
[email protected]
Marc G. Fournier [Wed, 19 Feb 1997 13:18:48 +0000 (13:18 +0000)]
Add v6.1/Enhancements Section...or at least start it
Marc G. Fournier [Wed, 19 Feb 1997 13:11:58 +0000 (13:11 +0000)]
And, make sure that initdb.sh copies the pg_geqo.sample file to
${DATADIR}. The file is left as pg_geqo.sample, since, unlike
pg_hba.conf, it isn't a required file...but this way ppl know that
its there, and that its where it is required, if they choose to
use it
Marc G. Fournier [Wed, 19 Feb 1997 13:09:34 +0000 (13:09 +0000)]
Add and install the pg_geqo.sample file
Marc G. Fournier [Wed, 19 Feb 1997 13:04:24 +0000 (13:04 +0000)]
Add the GEQO Todo file too
Marc G. Fournier [Wed, 19 Feb 1997 13:03:23 +0000 (13:03 +0000)]
Add the GEQO README file to the docs distribution
Marc G. Fournier [Wed, 19 Feb 1997 12:59:07 +0000 (12:59 +0000)]
Merge in GEQO Optimizer
From: "Martin S. Utesch"
Bruce Momjian [Wed, 19 Feb 1997 01:31:30 +0000 (01:31 +0000)]
Delete -e option to postmaster, keep postgres -e option.
Bruce Momjian [Tue, 18 Feb 1997 17:14:25 +0000 (17:14 +0000)]
Update btree patches that were missed.
Bruce Momjian [Tue, 18 Feb 1997 04:13:57 +0000 (04:13 +0000)]
Clarify clearing of attribute stats memory.
Bruce Momjian [Fri, 14 Feb 1997 23:02:29 +0000 (23:02 +0000)]
Oper_right added, broken with const. conversion.
Bruce Momjian [Fri, 14 Feb 1997 22:47:36 +0000 (22:47 +0000)]
Add prototypes and remove unused variables from btree Fastbuild patch.
Bruce Momjian [Fri, 14 Feb 1997 04:52:59 +0000 (04:52 +0000)]
Remove hardcoded 20000 and change to BootstrapObjectIdData.
Bruce Momjian [Fri, 14 Feb 1997 04:19:07 +0000 (04:19 +0000)]
Remove WIN32 defines. They never worked.
Bruce Momjian [Thu, 13 Feb 1997 15:55:01 +0000 (15:55 +0000)]
Fix naming from proc to prio to fix previous patch.
Bruce Momjian [Thu, 13 Feb 1997 15:40:03 +0000 (15:40 +0000)]
Only allow NULL in the prpoer places.
Marc G. Fournier [Thu, 13 Feb 1997 10:01:05 +0000 (10:01 +0000)]
Bring in Leo's massive changes to libpq++
Marc G. Fournier [Thu, 13 Feb 1997 09:54:14 +0000 (09:54 +0000)]
Improvements to the ultrix port, in particular a bunch of compiler
quieting prototyping in port/ultrix4.h
Submitted by: Erik Bertelsen
Marc G. Fournier [Thu, 13 Feb 1997 08:33:28 +0000 (08:33 +0000)]
Had configure check for strdup, but didn't have it set HAVE_STRDUP
Fixed
Marc G. Fournier [Thu, 13 Feb 1997 08:32:20 +0000 (08:32 +0000)]
Various patches for nextstep by GregorHoffleit
Replaced NEED_STRDUP by !HAVE_STRDUP
Marc G. Fournier [Thu, 13 Feb 1997 08:06:36 +0000 (08:06 +0000)]
Patch for:
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
Marc G. Fournier [Wed, 12 Feb 1997 11:05:10 +0000 (11:05 +0000)]
Removed a reference to DATADIR that still existed
Marc G. Fournier [Wed, 12 Feb 1997 05:25:13 +0000 (05:25 +0000)]
Patch from Massimo Dal Zotto
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.
Marc G. Fournier [Wed, 12 Feb 1997 05:17:19 +0000 (05:17 +0000)]
Make sure we have an irix port
Pointed out by: Dave Morrison (
[email protected])
Marc G. Fournier [Wed, 12 Feb 1997 05:04:52 +0000 (05:04 +0000)]
What looks like some *major* improvements to btree indexing...
Patches from:
[email protected] (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
Bruce Momjian [Tue, 11 Feb 1997 23:05:38 +0000 (23:05 +0000)]
Assign priorities when creating jobs in lock queue.
Bruce Momjian [Tue, 11 Feb 1997 15:37:18 +0000 (15:37 +0000)]
Add comment for questionable 5 padding.
Bruce Momjian [Tue, 11 Feb 1997 03:11:33 +0000 (03:11 +0000)]
Fix \? syntax for copy command.
Marc G. Fournier [Sun, 9 Feb 1997 04:50:25 +0000 (04:50 +0000)]
Remove machine.h, since it wasn't doing anything that config.h wasn't
already doing
Removed only reference to a machine.h I could find in c.h, to win32/machine.h
Marc G. Fournier [Sun, 9 Feb 1997 04:34:07 +0000 (04:34 +0000)]
Try to further reduce the PORT dependencies.
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
Marc G. Fournier [Sun, 9 Feb 1997 03:36:08 +0000 (03:36 +0000)]
Remove NO_{SIGPROCMASK,SETSID,WAITPID} from nextstep port, since they
aren't doing anything anyway
Marc G. Fournier [Sun, 9 Feb 1997 03:33:38 +0000 (03:33 +0000)]
Changes to configure/config.h.in to check for:
sigprocmask, setsid and waitpid
Especially for nextstep systems
Awaiting for a context diff from Gregor to complete changes for the nextstep
port
Marc G. Fournier [Sun, 9 Feb 1997 03:23:52 +0000 (03:23 +0000)]
Various fixes suggested by Gregor Hoffleit
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
Marc G. Fournier [Sun, 9 Feb 1997 03:00:09 +0000 (03:00 +0000)]
|I took a look at this and I think pg_dump mishandles arrays of ints and floats
|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
Bruce Momjian [Sat, 8 Feb 1997 20:39:50 +0000 (20:39 +0000)]
Add missing paren for hpux.
Marc G. Fournier [Sat, 8 Feb 1997 03:29:31 +0000 (03:29 +0000)]
Oops, the port is ultrix4, not ultrix
Pointed out by: Erik Bertelsen
Marc G. Fournier [Fri, 7 Feb 1997 17:49:50 +0000 (17:49 +0000)]
Add in netbsd*) to configure
Pointed out by D'Arcy
Bruce Momjian [Fri, 7 Feb 1997 16:24:12 +0000 (16:24 +0000)]
Add attribute optimization statistics.
Marc G. Fournier [Fri, 7 Feb 1997 11:07:43 +0000 (11:07 +0000)]
Add ultrix to configure
Marc G. Fournier [Fri, 7 Feb 1997 10:18:35 +0000 (10:18 +0000)]
Add in the nextstep port so that configure will (should?) run on it
Marc G. Fournier [Thu, 6 Feb 1997 20:55:03 +0000 (20:55 +0000)]
The test for union semun requires
Pointed out by Bruce
Bruce Momjian [Thu, 6 Feb 1997 19:27:22 +0000 (19:27 +0000)]
Remove extra paren in ifdef.
Marc G. Fournier [Thu, 6 Feb 1997 08:40:16 +0000 (08:40 +0000)]
Various changes to improve/support Mklinux
Submitted by: Tatsuo Ishii
Marc G. Fournier [Thu, 6 Feb 1997 06:33:58 +0000 (06:33 +0000)]
Make sure all changes are committed...
Marc G. Fournier [Thu, 6 Feb 1997 06:15:49 +0000 (06:15 +0000)]
autoconf test for and set HAVE_VFORK
Marc G. Fournier [Thu, 6 Feb 1997 05:30:50 +0000 (05:30 +0000)]
Add test for union semun to configure
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
Marc G. Fournier [Thu, 6 Feb 1997 05:05:04 +0000 (05:05 +0000)]
Change ordering of libraries
Bruce Momjian [Thu, 6 Feb 1997 02:31:52 +0000 (02:31 +0000)]
Include main Makefile.global first so variables are not over-written.
Marc G. Fournier [Wed, 5 Feb 1997 21:28:22 +0000 (21:28 +0000)]
Oops, just about forgot to commit this one too :(
Marc G. Fournier [Wed, 5 Feb 1997 21:27:04 +0000 (21:27 +0000)]
Get in there...
Marc G. Fournier [Wed, 5 Feb 1997 21:22:07 +0000 (21:22 +0000)]
Add Makefile.in so that configure can determine if inet_aton.o is required
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 :)
Bruce Momjian [Wed, 5 Feb 1997 04:47:20 +0000 (04:47 +0000)]
Update to handle include search paths.
Marc G. Fournier [Tue, 4 Feb 1997 22:39:56 +0000 (22:39 +0000)]
Add in appropriate checks for inet_aton, and modifications to backend/port/Makefile
to include inet_aton.c if required
Marc G. Fournier [Tue, 4 Feb 1997 22:36:30 +0000 (22:36 +0000)]
Test for existence of inet_aton on the system, and only include inet_aton.c if
required
Pointed out by Brian E. Gallew
Marc G. Fournier [Tue, 4 Feb 1997 22:24:40 +0000 (22:24 +0000)]
Add in a check for AIX port and set PORTNAME accordingly
Pointed out by: Darren King
Marc G. Fournier [Tue, 4 Feb 1997 22:17:23 +0000 (22:17 +0000)]
Remove a library check that isn't used right now
Marc G. Fournier [Tue, 4 Feb 1997 22:14:24 +0000 (22:14 +0000)]
Add a 'build' script. All it currently does is prompts the user for additional 'lib'
directories to search to find libraries, and then runs ./configure directly
Marc G. Fournier [Tue, 4 Feb 1997 21:40:54 +0000 (21:40 +0000)]
Add conditional for port to bsdi
Marc G. Fournier [Tue, 4 Feb 1997 09:16:08 +0000 (09:16 +0000)]
Fix for echo newline suppression detection
Submitted by: Keith Parks
Marc G. Fournier [Tue, 4 Feb 1997 09:13:59 +0000 (09:13 +0000)]
Remove default GNUmakefile and Makefile.global
Change reference to Postgres95 to PostgreSQL in GNUmakefile
Marc G. Fournier [Tue, 4 Feb 1997 09:08:56 +0000 (09:08 +0000)]
remove old non-autoconf config.h
clean up some of the readline code in config.h.in
Marc G. Fournier [Tue, 4 Feb 1997 08:54:47 +0000 (08:54 +0000)]
Final file required for autoconf, so far...
Marc G. Fournier [Tue, 4 Feb 1997 08:53:45 +0000 (08:53 +0000)]
Bring back in the autoconf files - work in progress
Marc G. Fournier [Mon, 3 Feb 1997 04:43:31 +0000 (04:43 +0000)]
Change references to NEED_RUSAGE to HAVE_RUSAGE
Pointed out by:" Tatsuo Ishii
Marc G. Fournier [Thu, 30 Jan 1997 16:02:38 +0000 (16:02 +0000)]
AIX *does* have
Pointed out by Darren King
Marc G. Fournier [Thu, 30 Jan 1997 04:00:50 +0000 (04:00 +0000)]
Convert Postgres95 to PostgreSQL
Pointed out by Andrew Martin
Marc G. Fournier [Thu, 30 Jan 1997 03:59:44 +0000 (03:59 +0000)]
Change Postgres95 references to PostgreSQL
Marc G. Fournier [Thu, 30 Jan 1997 03:58:15 +0000 (03:58 +0000)]
Change 'next' to 'nextstep' as port name
Pointed out by Andrew Martin
Marc G. Fournier [Thu, 30 Jan 1997 03:56:53 +0000 (03:56 +0000)]
Revisions to customize for READLINE support
From Andrew Martin
Marc G. Fournier [Thu, 30 Jan 1997 03:55:40 +0000 (03:55 +0000)]
Update Linux and Irix FAQs
From Andrew
Marc G. Fournier [Thu, 30 Jan 1997 03:54:13 +0000 (03:54 +0000)]
aix does have
pointed out by Darren King
Bruce Momjian [Wed, 29 Jan 1997 05:26:59 +0000 (05:26 +0000)]
Changes to get ready for 6.0 final release.
Marc G. Fournier [Wed, 29 Jan 1997 04:49:14 +0000 (04:49 +0000)]
Linux doesn't have sys/select.h...
Vadim B. Mikheev [Wed, 29 Jan 1997 02:59:03 +0000 (02:59 +0000)]
New func _vc_scanoneind: scan one index relation to update statistic
in pg_class if no one page was reapped by vacuum.
Marc G. Fournier [Tue, 28 Jan 1997 20:49:59 +0000 (20:49 +0000)]
Point bug reports at
[email protected]
Marc G. Fournier [Tue, 28 Jan 1997 18:12:34 +0000 (18:12 +0000)]
Redirect bug reports to
[email protected] instead of hackers...
Bruce Momjian [Tue, 28 Jan 1997 13:53:50 +0000 (13:53 +0000)]
Added comment to readline defines.
Bruce Momjian [Tue, 28 Jan 1997 03:47:01 +0000 (03:47 +0000)]
Moved readline stuff into Makefile.global.
Marc G. Fournier [Mon, 27 Jan 1997 22:37:52 +0000 (22:37 +0000)]
Apply usage patches for European Dates patch from Keith
Marc G. Fournier [Mon, 27 Jan 1997 20:31:47 +0000 (20:31 +0000)]
Quick patch from Andrew to recognize nextstep vs next as a port