]> granicus.if.org Git - postgresql/log
postgresql
27 years agoHad configure check for strdup, but didn't have it set HAVE_STRDUP
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

27 years agoVarious patches for nextstep by GregorHoffleit
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

27 years agoPatch for:
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 <alvaro@lander.es>

27 years agoRemoved a reference to DATADIR that still existed
Marc G. Fournier [Wed, 12 Feb 1997 11:05:10 +0000 (11:05 +0000)]
Removed a reference to DATADIR that still existed

27 years agoPatch from Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Wed, 12 Feb 1997 05:25:13 +0000 (05:25 +0000)]
Patch from Massimo Dal Zotto <dz@cs.unitn.it>

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.

27 years agoMake sure we have an irix port
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  (mirrison@mail.phy.ornl.gov)

27 years agoWhat looks like some *major* improvements to btree indexing...
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: 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

27 years agoAssign priorities when creating jobs in lock queue.
Bruce Momjian [Tue, 11 Feb 1997 23:05:38 +0000 (23:05 +0000)]
Assign priorities when creating jobs in lock queue.

27 years agoAdd comment for questionable 5 padding.
Bruce Momjian [Tue, 11 Feb 1997 15:37:18 +0000 (15:37 +0000)]
Add comment for questionable 5 padding.

27 years agoFix \? syntax for copy command.
Bruce Momjian [Tue, 11 Feb 1997 03:11:33 +0000 (03:11 +0000)]
Fix \? syntax for copy command.

27 years agoRemove machine.h, since it wasn't doing anything that config.h wasn't
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

27 years agoTry to further reduce the PORT dependencies.
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

27 years agoRemove NO_{SIGPROCMASK,SETSID,WAITPID} from nextstep port, since they
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

27 years agoChanges to configure/config.h.in to check for:
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

27 years agoVarious fixes suggested by Gregor Hoffleit
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

27 years ago|I took a look at this and I think pg_dump mishandles arrays of ints and floats
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

27 years agoAdd missing paren for hpux.
Bruce Momjian [Sat, 8 Feb 1997 20:39:50 +0000 (20:39 +0000)]
Add missing paren for hpux.

27 years agoOops, the port is ultrix4, not ultrix
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

27 years agoAdd in netbsd*) to configure
Marc G. Fournier [Fri, 7 Feb 1997 17:49:50 +0000 (17:49 +0000)]
Add in netbsd*) to configure

Pointed out by D'Arcy

27 years agoAdd attribute optimization statistics.
Bruce Momjian [Fri, 7 Feb 1997 16:24:12 +0000 (16:24 +0000)]
Add attribute optimization statistics.

27 years agoAdd ultrix to configure
Marc G. Fournier [Fri, 7 Feb 1997 11:07:43 +0000 (11:07 +0000)]
Add ultrix to configure

27 years agoAdd in the nextstep port so that configure will (should?) run on it
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

27 years agoThe test for union semun requires <sys/ipc.h>
Marc G. Fournier [Thu, 6 Feb 1997 20:55:03 +0000 (20:55 +0000)]
The test for union semun requires <sys/ipc.h>

Pointed out by Bruce

27 years agoRemove extra paren in ifdef.
Bruce Momjian [Thu, 6 Feb 1997 19:27:22 +0000 (19:27 +0000)]
Remove extra paren in ifdef.

27 years agoVarious changes to improve/support Mklinux
Marc G. Fournier [Thu, 6 Feb 1997 08:40:16 +0000 (08:40 +0000)]
Various changes to improve/support Mklinux

Submitted by: Tatsuo Ishii

27 years agoMake sure all changes are committed...
Marc G. Fournier [Thu, 6 Feb 1997 06:33:58 +0000 (06:33 +0000)]
Make sure all changes are committed...

27 years agoautoconf test for and set HAVE_VFORK
Marc G. Fournier [Thu, 6 Feb 1997 06:15:49 +0000 (06:15 +0000)]
autoconf test for and set HAVE_VFORK

27 years agoAdd test for union semun to configure
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

27 years agoChange ordering of libraries
Marc G. Fournier [Thu, 6 Feb 1997 05:05:04 +0000 (05:05 +0000)]
Change ordering of libraries

27 years agoInclude main Makefile.global first so variables are not over-written.
Bruce Momjian [Thu, 6 Feb 1997 02:31:52 +0000 (02:31 +0000)]
Include main Makefile.global first so variables are not over-written.

27 years agoOops, just about forgot to commit this one too :(
Marc G. Fournier [Wed, 5 Feb 1997 21:28:22 +0000 (21:28 +0000)]
Oops, just about forgot to commit this one too :(

27 years agoGet in there...
Marc G. Fournier [Wed, 5 Feb 1997 21:27:04 +0000 (21:27 +0000)]
Get in there...

27 years agoAdd Makefile.in so that configure can determine if inet_aton.o is required
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 :)

27 years agoUpdate to handle include search paths.
Bruce Momjian [Wed, 5 Feb 1997 04:47:20 +0000 (04:47 +0000)]
Update to handle include search paths.

27 years agoAdd in appropriate checks for inet_aton, and modifications to backend/port/Makefile
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

27 years agoTest for existence of inet_aton on the system, and only include inet_aton.c if
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

27 years agoAdd in a check for AIX port and set PORTNAME accordingly
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

27 years agoRemove a library check that isn't used right now
Marc G. Fournier [Tue, 4 Feb 1997 22:17:23 +0000 (22:17 +0000)]
Remove a library check that isn't used right now

27 years agoAdd a 'build' script. All it currently does is prompts the user for additional ...
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

27 years agoAdd conditional for port to bsdi
Marc G. Fournier [Tue, 4 Feb 1997 21:40:54 +0000 (21:40 +0000)]
Add conditional for port to bsdi

27 years agoFix for echo newline suppression detection
Marc G. Fournier [Tue, 4 Feb 1997 09:16:08 +0000 (09:16 +0000)]
Fix for echo newline suppression detection

Submitted by: Keith Parks

27 years agoRemove default GNUmakefile and Makefile.global
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

27 years agoremove old non-autoconf config.h
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

27 years agoFinal file required for autoconf, so far...
Marc G. Fournier [Tue, 4 Feb 1997 08:54:47 +0000 (08:54 +0000)]
Final file required for autoconf, so far...

27 years agoBring back in the autoconf files - work in progress
Marc G. Fournier [Tue, 4 Feb 1997 08:53:45 +0000 (08:53 +0000)]
Bring back in the autoconf files - work in progress

27 years agoChange references to NEED_RUSAGE to HAVE_RUSAGE
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 <t-ishii@sra.co.jp>

27 years agoAIX *does* have <sys/select.h>
Marc G. Fournier [Thu, 30 Jan 1997 16:02:38 +0000 (16:02 +0000)]
AIX *does* have <sys/select.h>

Pointed out by Darren King

27 years agoConvert Postgres95 to PostgreSQL
Marc G. Fournier [Thu, 30 Jan 1997 04:00:50 +0000 (04:00 +0000)]
Convert Postgres95 to PostgreSQL

Pointed out by Andrew Martin

27 years agoChange Postgres95 references to PostgreSQL
Marc G. Fournier [Thu, 30 Jan 1997 03:59:44 +0000 (03:59 +0000)]
Change Postgres95 references to PostgreSQL

27 years agoChange 'next' to 'nextstep' as port name
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

27 years agoRevisions to customize for READLINE support
Marc G. Fournier [Thu, 30 Jan 1997 03:56:53 +0000 (03:56 +0000)]
Revisions to customize for READLINE support

From Andrew Martin

27 years agoUpdate Linux and Irix FAQs
Marc G. Fournier [Thu, 30 Jan 1997 03:55:40 +0000 (03:55 +0000)]
Update Linux and Irix FAQs

From Andrew

27 years agoaix does have <termios.h>
Marc G. Fournier [Thu, 30 Jan 1997 03:54:13 +0000 (03:54 +0000)]
aix does have <termios.h>

pointed out by Darren King

27 years agoChanges to get ready for 6.0 final release.
Bruce Momjian [Wed, 29 Jan 1997 05:26:59 +0000 (05:26 +0000)]
Changes to get ready for 6.0 final release.

27 years agoLinux doesn't have sys/select.h...
Marc G. Fournier [Wed, 29 Jan 1997 04:49:14 +0000 (04:49 +0000)]
Linux doesn't have sys/select.h...

27 years agoNew func _vc_scanoneind: scan one index relation to update statistic
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.

27 years agoPoint bug reports at bugs@postgresql.org
Marc G. Fournier [Tue, 28 Jan 1997 20:49:59 +0000 (20:49 +0000)]
Point bug reports at bugs@postgresql.org

27 years agoRedirect bug reports to bugs@postgresql.org instead of hackers...
Marc G. Fournier [Tue, 28 Jan 1997 18:12:34 +0000 (18:12 +0000)]
Redirect bug reports to bugs@postgresql.org instead of hackers...

27 years agoAdded comment to readline defines.
Bruce Momjian [Tue, 28 Jan 1997 13:53:50 +0000 (13:53 +0000)]
Added comment to readline defines.

27 years agoMoved readline stuff into Makefile.global.
Bruce Momjian [Tue, 28 Jan 1997 03:47:01 +0000 (03:47 +0000)]
Moved readline stuff into Makefile.global.

27 years agoApply usage patches for European Dates patch from Keith
Marc G. Fournier [Mon, 27 Jan 1997 22:37:52 +0000 (22:37 +0000)]
Apply usage patches for European Dates patch from Keith

27 years agoQuick patch from Andrew to recognize nextstep vs next as a port
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

27 years agoSlight change to nabstime.c so that configure is able to handle a system
Marc G. Fournier [Mon, 27 Jan 1997 01:51:26 +0000 (01:51 +0000)]
Slight change to nabstime.c so that configure is able to handle a system
whereby timezone isn't an int, but tzset() exists...

This isn't a definitive fix, as there is probably an easier way of
fixing the bug...

27 years agoConvert MISSING_SYSCONF to !HAVE_SYSCONF for autoconf
Marc G. Fournier [Mon, 27 Jan 1997 00:09:47 +0000 (00:09 +0000)]
Convert MISSING_SYSCONF to !HAVE_SYSCONF for autoconf

From: Keith Parks

27 years agoMore removals for next/nextstep. Fix IPC lib for them.
Bruce Momjian [Sun, 26 Jan 1997 20:22:33 +0000 (20:22 +0000)]
More removals for next/nextstep.  Fix IPC lib for them.

27 years agoChange next to nextstep where missed.
Bruce Momjian [Sun, 26 Jan 1997 20:15:26 +0000 (20:15 +0000)]
Change next to nextstep where missed.

27 years ago|From: Keith Parks <emkxp01@mtcc.demon.co.uk>
Marc G. Fournier [Sun, 26 Jan 1997 17:28:48 +0000 (17:28 +0000)]
|From: Keith Parks <emkxp01@mtcc.demon.co.uk>
|Subject: [PATCH] adding SYS_TIME just for fun.
|
|Hi,
|
|Whilst I was playing round with the European dates patch I noticed the sysfunc()
|that allows you to do :-
|
|create table test ( da date);
|insert into test values (SYS_DATE);
|
|and have the current system date inserted.
|
|So I thought it would be nice to have the SYS_TIME facility too.
|
|I've cloned the function and changed a few things and there you have it,
|you can now do:
|
|create table test2 ( ti time);
|insert into test2 values (SYS_TIME);

27 years agoRemove #include "rlstubs.h", since it doesn't exist anymore
Marc G. Fournier [Sun, 26 Jan 1997 17:27:32 +0000 (17:27 +0000)]
Remove #include "rlstubs.h", since it doesn't exist anymore

27 years agoLinux defines MAXINT in values.h, which causes an error when compiling.
Marc G. Fournier [Sun, 26 Jan 1997 16:06:42 +0000 (16:06 +0000)]
Linux defines MAXINT in values.h, which causes an error when compiling.

Wrap it in an #ifndef to prevent this

27 years agoBring in a patch from Keith Parks to move the use of European dates
Marc G. Fournier [Sun, 26 Jan 1997 15:32:28 +0000 (15:32 +0000)]
Bring in a patch from Keith Parks to move the use of European dates
from a #define to a run-time option '-e'

Man page was updated to reflect new option

27 years agoFix typo in struct name.
Bruce Momjian [Sun, 26 Jan 1997 00:45:25 +0000 (00:45 +0000)]
Fix typo in struct name.

27 years agoRemove rlstubs.[ch], since they weren't actually doing anything that couldn't
Marc G. Fournier [Sat, 25 Jan 1997 23:54:08 +0000 (23:54 +0000)]
Remove rlstubs.[ch], since they weren't actually doing anything that couldn't
be #ifdef'd into psql.c itself

From what I can tell, if USE_READLINE is true or false, psql works under
FreeBSD, without configure.  Now to test it *again* under sparc_solaris
with configure and see if it works...

27 years agoOkay, this should pretty much clean up the psql/readline/history mess.
Marc G. Fournier [Sat, 25 Jan 1997 22:52:08 +0000 (22:52 +0000)]
Okay, this should pretty much clean up the psql/readline/history mess.

Added a README.readline file until configure is integrated to *try* and
explain the way things stand.

Removed a stray configure .in file

27 years agoWhy can't everyone be standard? :(
Marc G. Fournier [Sat, 25 Jan 1997 22:16:43 +0000 (22:16 +0000)]
Why can't everyone be standard? :(

Add some code to make psql happy with a system where there is *no*
history code available, but there is readline code...

27 years agoModifications to handle the situation where readline.h exists, but
Marc G. Fournier [Sat, 25 Jan 1997 21:58:08 +0000 (21:58 +0000)]
Modifications to handle the situation where readline.h exists, but
history.h doesn't...previously, it was assumed that both existed, or
didn't exist...but this assumption fails on the one sparc_solaris box
that I have access to, and could exist in other circumstances

27 years agoSome fixes for using configure under sparc_solaris
Marc G. Fournier [Sat, 25 Jan 1997 21:55:37 +0000 (21:55 +0000)]
Some fixes for using configure under sparc_solaris

27 years agowould you mind committing the following changes for me? (the first
Bruce Momjian [Sat, 25 Jan 1997 21:09:20 +0000 (21:09 +0000)]
would you mind committing the following changes for me?  (the first
bug causes compilation to fail on alpha, the second causes a compiler
in this environment

27 years agoMore autosize structure error checks.
Bruce Momjian [Sat, 25 Jan 1997 21:01:16 +0000 (21:01 +0000)]
More autosize structure error checks.

27 years agoThe check should be for getrusage(), not rusage() ... change the defines
Marc G. Fournier [Sat, 25 Jan 1997 19:29:47 +0000 (19:29 +0000)]
The check should be for getrusage(), not rusage() ... change the defines
to reflect what configure is going to define when the time comes

27 years agoRemove -lsocket -lnsl from X11_LIB, since it should be added on a port-by-port
Marc G. Fournier [Sat, 25 Jan 1997 19:25:05 +0000 (19:25 +0000)]
Remove -lsocket -lnsl from X11_LIB, since it should be added on a port-by-port
basis, as its only specific to certain OSs

27 years agoDisable -Werror by default.
Marc G. Fournier [Sat, 25 Jan 1997 19:23:43 +0000 (19:23 +0000)]
Disable -Werror by default.

Developers can add it to their Makefile.custom...again, it causes sooooo many
more problems then its worth, from an end-user standpoint.

27 years agoremove asm/bitops.h, as its causing more problems then it fixes.
Marc G. Fournier [Sat, 25 Jan 1997 19:22:27 +0000 (19:22 +0000)]
remove asm/bitops.h, as its causing more problems then it fixes.

27 years agoAdd YACC= bison -y as per Andrew's request...
Marc G. Fournier [Sat, 25 Jan 1997 19:19:35 +0000 (19:19 +0000)]
Add YACC= bison -y as per Andrew's request...

27 years agoChange how readline support is included in psql.c ...
Marc G. Fournier [Sat, 25 Jan 1997 03:51:59 +0000 (03:51 +0000)]
Change how readline support is included in psql.c ...

See message to hackers@ mailing list concerning this...

27 years agoRestructure padding to handle structure already 128 bytes(alpha).
Bruce Momjian [Sat, 25 Jan 1997 03:09:33 +0000 (03:09 +0000)]
Restructure padding to handle structure already 128 bytes(alpha).

27 years agoSwitch over NEED_RUSAGE to HAVE_RUSAGE for configure
Marc G. Fournier [Fri, 24 Jan 1997 23:48:32 +0000 (23:48 +0000)]
Switch over NEED_RUSAGE to HAVE_RUSAGE for configure

27 years agoI reversed a bunch of the #define's inadvertantly...
Marc G. Fournier [Fri, 24 Jan 1997 23:36:33 +0000 (23:36 +0000)]
I reversed a bunch of the #define's inadvertantly...

Fixed them, and am re-committing

27 years agoMissed this when I removed the rest of the configure stuff
Marc G. Fournier [Fri, 24 Jan 1997 23:35:16 +0000 (23:35 +0000)]
Missed this when I removed the rest of the configure stuff

27 years agoChange NEED_SIG_JMP to HAVE_SIGSETJMP in preparation for configure
Marc G. Fournier [Fri, 24 Jan 1997 22:42:35 +0000 (22:42 +0000)]
Change NEED_SIG_JMP to HAVE_SIGSETJMP in preparation for configure

27 years agoAnother switch for configure: NEED_SYS_SELECT_H to HAVE_SYS_SELECT_H
Marc G. Fournier [Fri, 24 Jan 1997 18:27:32 +0000 (18:27 +0000)]
Another switch for configure: NEED_SYS_SELECT_H to HAVE_SYS_SELECT_H

27 years agoConvert NEED_{RINT,CBRT,ISINF} to HAVE_* in prepration for configure...
Marc G. Fournier [Fri, 24 Jan 1997 18:17:37 +0000 (18:17 +0000)]
Convert NEED_{RINT,CBRT,ISINF} to HAVE_* in prepration for configure...

27 years agoReplace occurances of USE_{LIMITS,VALUES}_H with HAVE_* in preparation
Marc G. Fournier [Fri, 24 Jan 1997 18:00:48 +0000 (18:00 +0000)]
Replace occurances of USE_{LIMITS,VALUES}_H with HAVE_* in preparation
for switch over to configure

27 years agoRemove from include/config.h:
Marc G. Fournier [Fri, 24 Jan 1997 17:47:39 +0000 (17:47 +0000)]
Remove from include/config.h:

#if defined(aix)
#define TERMIOS_H_LOCATION <termios.h>
#else
#define TERMIOS_H_LOCATION <sys/termios.h>
#endif

libpq/fe-exec.c modified so that location of termios.h is determined
by whether HAVE_TERMIOS_H is defined or not, in preparation for switch
to configure

27 years agoThis should clean everything up back to pre-configure status
Marc G. Fournier [Fri, 24 Jan 1997 17:32:34 +0000 (17:32 +0000)]
This should clean everything up back to pre-configure status

27 years agoRemove all the configure related stuff...
Marc G. Fournier [Fri, 24 Jan 1997 17:09:11 +0000 (17:09 +0000)]
Remove all the configure related stuff...

27 years agoSlight oops...Makefile.global generated by configure *wasn't* supposed
Marc G. Fournier [Fri, 24 Jan 1997 16:18:50 +0000 (16:18 +0000)]
Slight oops...Makefile.global generated by configure *wasn't* supposed
to be committed...

27 years agoOkay, that does it for tonight...
Marc G. Fournier [Fri, 24 Jan 1997 04:09:41 +0000 (04:09 +0000)]
Okay, that does it for tonight...

Cleaned out alot of the #define that can be auto-detect'd by
configure from config.h...

27 years agoHave configure auto-detect more of the libraries, and shorten out
Marc G. Fournier [Fri, 24 Jan 1997 03:57:14 +0000 (03:57 +0000)]
Have configure auto-detect more of the libraries, and shorten out
the ports section of Makefile.global as a result.

27 years agoAdd in the code required to auto-detect the OS and to set PORTNAME...
Marc G. Fournier [Fri, 24 Jan 1997 03:19:48 +0000 (03:19 +0000)]
Add in the code required to auto-detect the OS and to set PORTNAME...

Right now, it only auto-detects FreeBSD, and the rest still get set
to UNDEFINED, but its a step in the right direction, no?

27 years agoAuto-sense lib{readline,history,curses,termcap}
Marc G. Fournier [Fri, 24 Jan 1997 02:35:31 +0000 (02:35 +0000)]
Auto-sense lib{readline,history,curses,termcap}
Autoconf bin/psql/Makefile