]>
granicus.if.org Git - postgresql/log
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 <sys/ipc.h>
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 <t-ishii@sra.co.jp>
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
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 <termios.h>
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 bugs@postgresql.org
Marc G. Fournier [Tue, 28 Jan 1997 18:12:34 +0000 (18:12 +0000)]
Redirect bug reports to bugs@postgresql.org 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
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...
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
Bruce Momjian [Sun, 26 Jan 1997 20:22:33 +0000 (20:22 +0000)]
More removals for next/nextstep. Fix IPC lib for them.
Bruce Momjian [Sun, 26 Jan 1997 20:15:26 +0000 (20:15 +0000)]
Change next to nextstep where missed.
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);
Marc G. Fournier [Sun, 26 Jan 1997 17:27:32 +0000 (17:27 +0000)]
Remove #include "rlstubs.h", since it doesn't exist anymore
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
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
Bruce Momjian [Sun, 26 Jan 1997 00:45:25 +0000 (00:45 +0000)]
Fix typo in struct name.
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...
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
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...
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
Marc G. Fournier [Sat, 25 Jan 1997 21:55:37 +0000 (21:55 +0000)]
Some fixes for using configure under sparc_solaris
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
Bruce Momjian [Sat, 25 Jan 1997 21:01:16 +0000 (21:01 +0000)]
More autosize structure error checks.
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
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
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.
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.
Marc G. Fournier [Sat, 25 Jan 1997 19:19:35 +0000 (19:19 +0000)]
Add YACC= bison -y as per Andrew's request...
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...
Bruce Momjian [Sat, 25 Jan 1997 03:09:33 +0000 (03:09 +0000)]
Restructure padding to handle structure already 128 bytes(alpha).
Marc G. Fournier [Fri, 24 Jan 1997 23:48:32 +0000 (23:48 +0000)]
Switch over NEED_RUSAGE to HAVE_RUSAGE for configure
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
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
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
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
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...
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
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
Marc G. Fournier [Fri, 24 Jan 1997 17:32:34 +0000 (17:32 +0000)]
This should clean everything up back to pre-configure status
Marc G. Fournier [Fri, 24 Jan 1997 17:09:11 +0000 (17:09 +0000)]
Remove all the configure related stuff...
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...
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...
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.
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?
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
Marc G. Fournier [Fri, 24 Jan 1997 02:35:27 +0000 (02:35 +0000)]
Have Makefile autoconf'd according to whether the system has
readline and associated libraries...
Marc G. Fournier [Fri, 24 Jan 1997 01:23:23 +0000 (01:23 +0000)]
Stray endif prevents compile
Marc G. Fournier [Fri, 24 Jan 1997 00:42:22 +0000 (00:42 +0000)]
Slowly building up config.h so that it is pretty much generated by
configure, thereby reducing the ports dependencies in it :)
Marc G. Fournier [Thu, 23 Jan 1997 23:48:08 +0000 (23:48 +0000)]
Makefile.global.in currently should reflect what Makefile.global
in v6.0 does...
Marc G. Fournier [Thu, 23 Jan 1997 23:36:41 +0000 (23:36 +0000)]
Okay, GNUmakefile.in == GNUmakefile, except for the stuff that
configure is auto-finding
Marc G. Fournier [Thu, 23 Jan 1997 23:31:39 +0000 (23:31 +0000)]
Add config.h to configure
Marc G. Fournier [Thu, 23 Jan 1997 23:24:14 +0000 (23:24 +0000)]
Forgot, we don't use Makefile anymore.
Mv Makefile.in to GNUmakefile.in and reflect the change in the
configure script
Marc G. Fournier [Thu, 23 Jan 1997 22:50:14 +0000 (22:50 +0000)]
Bring in Nat' preliminary work at autoconf'ng PostgreSQL...I imagine
it still needs lots of work, but, hey, at least this way there are more
ppl working off the same "Source"...
Marc G. Fournier [Thu, 23 Jan 1997 19:47:18 +0000 (19:47 +0000)]
The last patch fixes some incongruences in the #define used to compile the
Tcl arrays support. Here are the correct values to be defined in config.h
and pgtclCmds.c.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Thu, 23 Jan 1997 19:43:23 +0000 (19:43 +0000)]
The second patch adds a more explicative error message to BufferPoolCheckLeak.
It should be completely harmless.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>