1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00
Commit Graph

31631 Commits

Author SHA1 Message Date
4001a8c7d3 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 :)
1997-02-05 21:22:07 +00:00
0d5f773b72 Update to handle include search paths. 1997-02-05 04:47:20 +00:00
4506116db8 Add in appropriate checks for inet_aton, and modifications to backend/port/Makefile
to include inet_aton.c if required
1997-02-04 22:39:56 +00:00
50b618a049 Test for existence of inet_aton on the system, and only include inet_aton.c if
required

Pointed out by Brian E. Gallew
1997-02-04 22:36:30 +00:00
5c117403e0 Add in a check for AIX port and set PORTNAME accordingly
Pointed out by: Darren King
1997-02-04 22:24:40 +00:00
20c20b8018 Remove a library check that isn't used right now 1997-02-04 22:17:23 +00:00
b17a92f5e6 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
1997-02-04 22:14:24 +00:00
b8ddf4425d Add conditional for port to bsdi 1997-02-04 21:40:54 +00:00
4aff83181a Fix for echo newline suppression detection
Submitted by: Keith Parks
1997-02-04 09:16:08 +00:00
14be8d35b5 Remove default GNUmakefile and Makefile.global
Change reference to Postgres95 to PostgreSQL in GNUmakefile
1997-02-04 09:13:59 +00:00
63c28920ab remove old non-autoconf config.h
clean up some of the readline code in config.h.in
1997-02-04 09:08:56 +00:00
a20440b210 Final file required for autoconf, so far... 1997-02-04 08:54:47 +00:00
bc564084a3 Bring back in the autoconf files - work in progress 1997-02-04 08:53:45 +00:00
9cabea224c Change references to NEED_RUSAGE to HAVE_RUSAGE
Pointed out by:" Tatsuo Ishii <t-ishii@sra.co.jp>
1997-02-03 04:43:31 +00:00
a1019b6ca7 AIX *does* have <sys/select.h>
Pointed out by Darren King
1997-01-30 16:02:38 +00:00
3facbfc28e Revisions to customize for READLINE support
From Andrew Martin
1997-01-30 03:56:53 +00:00
6791355823 aix does have <termios.h>
pointed out by Darren King
1997-01-30 03:54:13 +00:00
abd38d8b22 Linux doesn't have sys/select.h... 1997-01-29 04:49:14 +00:00
daf75276d4 New func _vc_scanoneind: scan one index relation to update statistic
in pg_class if no one page was reapped by vacuum.
1997-01-29 02:59:03 +00:00
35e2d29c2b Added comment to readline defines. 1997-01-28 13:53:50 +00:00
9c931e08ba Moved readline stuff into Makefile.global. 1997-01-28 03:47:01 +00:00
6ab9db7b78 Apply usage patches for European Dates patch from Keith 1997-01-27 22:37:52 +00:00
83d7b271db Quick patch from Andrew to recognize nextstep vs next as a port 1997-01-27 20:31:47 +00:00
8d3d5d2e2f 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...
1997-01-27 01:51:26 +00:00
a246e87d12 Convert MISSING_SYSCONF to !HAVE_SYSCONF for autoconf
From: Keith Parks
1997-01-27 00:09:47 +00:00
197c7f5486 More removals for next/nextstep. Fix IPC lib for them. 1997-01-26 20:22:33 +00:00
1836ce2c81 Change next to nextstep where missed. 1997-01-26 20:15:26 +00:00
427a964c30 |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);
1997-01-26 17:28:48 +00:00
1d8a696fd5 Remove #include "rlstubs.h", since it doesn't exist anymore 1997-01-26 17:27:32 +00:00
d90a426e35 Linux defines MAXINT in values.h, which causes an error when compiling.
Wrap it in an #ifndef to prevent this
1997-01-26 16:06:42 +00:00
632c44d829 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
1997-01-26 15:32:28 +00:00
ac3c926c42 Fix typo in struct name. 1997-01-26 00:45:25 +00:00
917042f1c6 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...
1997-01-25 23:54:08 +00:00
aa46d53fa4 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
1997-01-25 22:52:08 +00:00
374b2b0639 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...
1997-01-25 22:16:43 +00:00
d049cec4f5 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
1997-01-25 21:58:08 +00:00
49f30e80fc Some fixes for using configure under sparc_solaris 1997-01-25 21:55:37 +00:00
311c521d96 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
1997-01-25 21:09:20 +00:00
4eadf2d6cd More autosize structure error checks. 1997-01-25 21:01:16 +00:00
37e8621623 The check should be for getrusage(), not rusage() ... change the defines
to reflect what configure is going to define when the time comes
1997-01-25 19:29:47 +00:00
378a2c1102 Remove -lsocket -lnsl from X11_LIB, since it should be added on a port-by-port
basis, as its only specific to certain OSs
1997-01-25 19:25:05 +00:00
c7b5159713 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.
1997-01-25 19:23:43 +00:00
b1fd1f6998 remove asm/bitops.h, as its causing more problems then it fixes. 1997-01-25 19:22:27 +00:00
9921eae7a5 Add YACC= bison -y as per Andrew's request... 1997-01-25 19:19:35 +00:00
f389e9dfc2 Change how readline support is included in psql.c ...
See message to hackers@ mailing list concerning this...
1997-01-25 03:51:59 +00:00
6dbe1be690 Restructure padding to handle structure already 128 bytes(alpha). 1997-01-25 03:09:33 +00:00
60265ee651 Switch over NEED_RUSAGE to HAVE_RUSAGE for configure 1997-01-24 23:48:32 +00:00
970e3f69b7 I reversed a bunch of the #define's inadvertantly...
Fixed them, and am re-committing
1997-01-24 23:36:33 +00:00
a961613f49 Missed this when I removed the rest of the configure stuff 1997-01-24 23:35:16 +00:00
c19b247aec Change NEED_SIG_JMP to HAVE_SIGSETJMP in preparation for configure 1997-01-24 22:42:35 +00:00