Marc G. Fournier
abd38d8b22
Linux doesn't have sys/select.h...
29 years ago
Vadim B. Mikheev
daf75276d4
New func _vc_scanoneind: scan one index relation to update statistic
...
in pg_class if no one page was reapped by vacuum.
29 years ago
Marc G. Fournier
f3c3458b1d
Point bug reports at bugs@postgresql.org
29 years ago
Marc G. Fournier
31832a5768
Redirect bug reports to bugs@postgresql.org instead of hackers...
29 years ago
Bruce Momjian
35e2d29c2b
Added comment to readline defines.
29 years ago
Bruce Momjian
9c931e08ba
Moved readline stuff into Makefile.global.
29 years ago
Marc G. Fournier
6ab9db7b78
Apply usage patches for European Dates patch from Keith
29 years ago
Marc G. Fournier
83d7b271db
Quick patch from Andrew to recognize nextstep vs next as a port
29 years ago
Marc G. Fournier
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...
29 years ago
Marc G. Fournier
a246e87d12
Convert MISSING_SYSCONF to !HAVE_SYSCONF for autoconf
...
From: Keith Parks
29 years ago
Bruce Momjian
197c7f5486
More removals for next/nextstep. Fix IPC lib for them.
29 years ago
Bruce Momjian
1836ce2c81
Change next to nextstep where missed.
29 years ago
Marc G. Fournier
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);
29 years ago
Marc G. Fournier
1d8a696fd5
Remove #include "rlstubs.h", since it doesn't exist anymore
29 years ago
Marc G. Fournier
d90a426e35
Linux defines MAXINT in values.h, which causes an error when compiling.
...
Wrap it in an #ifndef to prevent this
29 years ago
Marc G. Fournier
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
29 years ago
Bruce Momjian
ac3c926c42
Fix typo in struct name.
29 years ago
Marc G. Fournier
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...
29 years ago
Marc G. Fournier
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
29 years ago
Marc G. Fournier
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...
29 years ago
Marc G. Fournier
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
29 years ago
Marc G. Fournier
49f30e80fc
Some fixes for using configure under sparc_solaris
29 years ago
Bruce Momjian
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
29 years ago
Bruce Momjian
4eadf2d6cd
More autosize structure error checks.
29 years ago
Marc G. Fournier
37e8621623
The check should be for getrusage(), not rusage() ... change the defines
...
to reflect what configure is going to define when the time comes
29 years ago
Marc G. Fournier
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
29 years ago
Marc G. Fournier
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.
29 years ago
Marc G. Fournier
b1fd1f6998
remove asm/bitops.h, as its causing more problems then it fixes.
29 years ago
Marc G. Fournier
9921eae7a5
Add YACC= bison -y as per Andrew's request...
29 years ago
Marc G. Fournier
f389e9dfc2
Change how readline support is included in psql.c ...
...
See message to hackers@ mailing list concerning this...
29 years ago
Bruce Momjian
6dbe1be690
Restructure padding to handle structure already 128 bytes(alpha).
29 years ago
Marc G. Fournier
60265ee651
Switch over NEED_RUSAGE to HAVE_RUSAGE for configure
29 years ago
Marc G. Fournier
970e3f69b7
I reversed a bunch of the #define's inadvertantly...
...
Fixed them, and am re-committing
29 years ago
Marc G. Fournier
a961613f49
Missed this when I removed the rest of the configure stuff
29 years ago
Marc G. Fournier
c19b247aec
Change NEED_SIG_JMP to HAVE_SIGSETJMP in preparation for configure
29 years ago
Marc G. Fournier
f12c5f898c
Another switch for configure: NEED_SYS_SELECT_H to HAVE_SYS_SELECT_H
29 years ago
Marc G. Fournier
0a16069901
Convert NEED_{RINT,CBRT,ISINF} to HAVE_* in prepration for configure...
29 years ago
Marc G. Fournier
3ffd5694dd
Replace occurances of USE_{LIMITS,VALUES}_H with HAVE_* in preparation
...
for switch over to configure
29 years ago
Marc G. Fournier
cfe18a8e3f
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
29 years ago
Marc G. Fournier
1ac3ea9dcf
This should clean everything up back to pre-configure status
29 years ago
Marc G. Fournier
03f0136990
Remove all the configure related stuff...
29 years ago
Marc G. Fournier
29d3deb3e8
Slight oops...Makefile.global generated by configure *wasn't* supposed
...
to be committed...
29 years ago
Marc G. Fournier
a245ba7cb7
Okay, that does it for tonight...
...
Cleaned out alot of the #define that can be auto-detect'd by
configure from config.h...
29 years ago
Marc G. Fournier
ca6da613cd
Have configure auto-detect more of the libraries, and shorten out
...
the ports section of Makefile.global as a result.
29 years ago
Marc G. Fournier
de2003c450
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?
29 years ago
Marc G. Fournier
18d245cda4
Auto-sense lib{readline,history,curses,termcap}
...
Autoconf bin/psql/Makefile
29 years ago
Marc G. Fournier
cb31156b86
Have Makefile autoconf'd according to whether the system has
...
readline and associated libraries...
29 years ago
Marc G. Fournier
d22b65d73c
Stray endif prevents compile
29 years ago
Marc G. Fournier
e736ca3113
Slowly building up config.h so that it is pretty much generated by
...
configure, thereby reducing the ports dependencies in it :)
29 years ago
Marc G. Fournier
ef239de03f
Makefile.global.in currently should reflect what Makefile.global
...
in v6.0 does...
29 years ago