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>
Marc G. Fournier [Thu, 23 Jan 1997 19:39:40 +0000 (19:39 +0000)]
Document and enable ACLGROUP_PATCH submitted by Massimo
Marc G. Fournier [Thu, 23 Jan 1997 19:33:31 +0000 (19:33 +0000)]
Patch from Massimo Dal Zotto <dz@cs.unitn.it>
The first patch changes the behavior of aclcheck for groups. Currently an user
can access a table only if he has the required permission for ALL the groups
defined for that table. With my patch he can access a table if he has the
permission for ONE of the groups, which seems to me a more useful thing.
If you think this should be the correct behavior of the acl group check feel
free to remove the #ifdef, if not please add a commented line to config.h.
Bruce Momjian [Thu, 23 Jan 1997 18:15:29 +0000 (18:15 +0000)]
Remove SB_PAD. Compute padding at compile time.
Marc G. Fournier [Thu, 23 Jan 1997 16:04:25 +0000 (16:04 +0000)]
Fix from Andrew for compiling libpgtcl...basically, switch off -Werror,
which probably isn't needed, since we are going to take off -Werror
anyway, right?
Marc G. Fournier [Thu, 23 Jan 1997 15:58:34 +0000 (15:58 +0000)]
Small fixes for SVR4 port by Frank Ridderbusch
Bruce Momjian [Thu, 23 Jan 1997 06:01:07 +0000 (06:01 +0000)]
Added EXAMPLES section.
Bruce Momjian [Thu, 23 Jan 1997 05:59:47 +0000 (05:59 +0000)]
Removed unlinked patch that is not neede now that Vadim has properly fixed it.
Bryan Henderson [Thu, 23 Jan 1997 05:16:13 +0000 (05:16 +0000)]
Add "else true" to make it magically work on Ultrix.
Vadim B. Mikheev [Wed, 22 Jan 1997 06:30:57 +0000 (06:30 +0000)]
INDEXSCAN_PATCH changes: should work for (Param OP VAR) too
(but I didn't test FUNC OP PARAM and PARAM OP FUNC - no time)
Vadim B. Mikheev [Wed, 22 Jan 1997 06:25:42 +0000 (06:25 +0000)]
1. INDEXSCAN_PATCH changes: (op Param Var) should work too
2. IndexScanableOperand now uses match_indexkey_operand
instead of equal_indexkey_var (if we have some index on attribute X
then we shouldn't use it for 'where some_func(X) OP CONST').
Vadim B. Mikheev [Wed, 22 Jan 1997 05:26:50 +0000 (05:26 +0000)]
Fixing bug in INDEXSCAN_PATCH:
ExecInitIndexScan now works with operands of Param type and
(!!!) postquel_execute() now substitutes param values
before calling postquel_start().
Marc G. Fournier [Wed, 22 Jan 1997 04:56:34 +0000 (04:56 +0000)]
Another change from /usr/include/machine/limits.h to just limits.h
Marc G. Fournier [Wed, 22 Jan 1997 04:45:45 +0000 (04:45 +0000)]
Another one that should be including limits.h vs machine/limits.h
Marc G. Fournier [Wed, 22 Jan 1997 04:41:45 +0000 (04:41 +0000)]
Taking a chance here. Under both Solaris and FreeBSD, there is a
/usr/include/limits.h (which quiets the costsize.c warnings)...under
FreeBSD, /usr/include/limits.h *includes* machine/limits.h, while under
Solaris, there is no such things as /usr/include/machine...
Problem with Solaris pointed out by Mark Wahl
Marc G. Fournier [Wed, 22 Jan 1997 04:15:53 +0000 (04:15 +0000)]
the i386_solaris port requires inet_aton.o
Pointed out by Mark Wahl
Bruce Momjian [Wed, 22 Jan 1997 01:44:02 +0000 (01:44 +0000)]
Cast constants to the type of the other binary operand.
Invalidate vacuum relation cache to use new row counts from vacuum.
Bryan Henderson [Tue, 21 Jan 1997 05:16:38 +0000 (05:16 +0000)]
Add link options for libpq library search.
Bruce Momjian [Tue, 21 Jan 1997 01:27:18 +0000 (01:27 +0000)]
Rename GNUMakefile to GNUmakefile so gmake finds it.
Marc G. Fournier [Mon, 20 Jan 1997 14:23:03 +0000 (14:23 +0000)]
Made the patch, but forgot to commit it...
Vadim B. Mikheev [Mon, 20 Jan 1997 04:36:48 +0000 (04:36 +0000)]
Fixing possible losing data changes:
1. New flag - BM_JUST_DIRTIED - added for BufferDesc;
2. All data "dirtiers" (WriteBuffer and WriteNoReleaseBuffer)
set this flag (and BM_DIRTY too);
3. All data "flushers" (FlushBuffer, BufferSync and BufferReplace)
turn this flag off just before calling smgr[blind]write/smgrflush
and check this flag after flushing buffer: if it turned ON then
BM_DIRTY will stay ON.
Vadim B. Mikheev [Mon, 20 Jan 1997 04:06:13 +0000 (04:06 +0000)]
New flag for BufferDesc - BM_JUST_DIRTIED, - to prevent
losing data changes.
Vadim B. Mikheev [Mon, 20 Jan 1997 04:01:50 +0000 (04:01 +0000)]
1. Setting rdesc->rd_tmpunlinked to FALSE in heap_creatr () just after
smgrcreate ().
2. Checking rdesc->rd_tmpunlinked in heap_destroy () & heap_destroyr ()
before calling smgrunlink ().
Bryan Henderson [Mon, 20 Jan 1997 00:51:38 +0000 (00:51 +0000)]
Use gcc to make Linux ELF shared library, instead of ld.
Bryan Henderson [Sun, 19 Jan 1997 22:12:18 +0000 (22:12 +0000)]
Change "ld" program back to ld from gcc for Linux. Backend make files need ld.
Must find alternate solution to libpq shared library build problem.
Bruce Momjian [Sun, 19 Jan 1997 10:15:59 +0000 (10:15 +0000)]
Update handling of backslashes, and pg_user dump.
Bruce Momjian [Sat, 18 Jan 1997 17:36:02 +0000 (17:36 +0000)]
Add missing #.
Bruce Momjian [Sat, 18 Jan 1997 16:14:04 +0000 (16:14 +0000)]
Add include files needed for stat().
Bryan Henderson [Sat, 18 Jan 1997 08:01:32 +0000 (08:01 +0000)]
Rename Makefile to GNUMakefile and add a "use GNU Make" Makefile so people
don't accidentally use non-GNU make.
Bryan Henderson [Sat, 18 Jan 1997 07:56:52 +0000 (07:56 +0000)]
Set LD = gcc for Linux so shared libpq build works.
Bruce Momjian [Sat, 18 Jan 1997 05:48:07 +0000 (05:48 +0000)]
Prevent UNIQUE indexes for non-btree access methods.
Bruce Momjian [Sat, 18 Jan 1997 03:26:08 +0000 (03:26 +0000)]
Remove blank lines.
Bruce Momjian [Fri, 17 Jan 1997 23:48:50 +0000 (23:48 +0000)]
Removed unneeded custom shell script call.
Bruce Momjian [Fri, 17 Jan 1997 18:36:32 +0000 (18:36 +0000)]
Add pg_dump's option meanings to the manual page.
Marc G. Fournier [Thu, 16 Jan 1997 18:05:12 +0000 (18:05 +0000)]
Unapply a patch that wasn't a patch...
Marc G. Fournier [Thu, 16 Jan 1997 16:17:32 +0000 (16:17 +0000)]
Update README.support to match what is on the WWW Site
Remove RELEASE.patchlevel...it hasn't been modified since 1.02 *sigh*
Pointed out by Andrew
Marc G. Fournier [Thu, 16 Jan 1997 16:14:36 +0000 (16:14 +0000)]
point the installer at src/test/regress for testing
pointed out by Andrew...
Marc G. Fournier [Thu, 16 Jan 1997 16:13:40 +0000 (16:13 +0000)]
Minor change to file point out by Andrew
Marc G. Fournier [Thu, 16 Jan 1997 16:11:09 +0000 (16:11 +0000)]
This is one of those patches that obviously fixes something, just not
sure exactly what it is it fixes...
Marc G. Fournier [Thu, 16 Jan 1997 16:10:05 +0000 (16:10 +0000)]
Various updates to install, including redirecting installers to
Makefile.custom and pointers at the customize script...
Bruce Momjian [Thu, 16 Jan 1997 15:28:34 +0000 (15:28 +0000)]
Added pg_dumpall to source tree.
Bruce Momjian [Thu, 16 Jan 1997 14:56:59 +0000 (14:56 +0000)]
Change EXPLAIN options to just use VERBOSE.
Vadim B. Mikheev [Thu, 16 Jan 1997 08:13:14 +0000 (08:13 +0000)]
FlushLocalBuffer () releases buffer only if required
by caller.
Vadim B. Mikheev [Thu, 16 Jan 1997 08:11:41 +0000 (08:11 +0000)]
No more LateWrite, but there is WriteMode;
SetBufferWriteMode () added;
FlushBuffer () fixed: now directly calls smgrflush () and
releases buffer only if required by caller.
Vadim B. Mikheev [Thu, 16 Jan 1997 08:04:30 +0000 (08:04 +0000)]
No more LateWrite.
Vadim B. Mikheev [Thu, 16 Jan 1997 07:59:11 +0000 (07:59 +0000)]
VariableRelationPutNextXid () now flushes variable relation
after writing next free XID.
Vadim B. Mikheev [Thu, 16 Jan 1997 07:53:27 +0000 (07:53 +0000)]
SetBufferWriteMode () added; FlushLocalBuffer () fixed (shouldn't
release buffer if called from WriteNoReleaseBuffer ())
Bryan Henderson [Thu, 16 Jan 1997 06:32:17 +0000 (06:32 +0000)]
Add inet_aton() prototype.
Vadim B. Mikheev [Thu, 16 Jan 1997 03:53:51 +0000 (03:53 +0000)]
textin fixed: no more zero-byte (thanks, Erich)
Marc G. Fournier [Wed, 15 Jan 1997 15:16:25 +0000 (15:16 +0000)]
Import of PostgreSQL User Manual
Marc G. Fournier [Wed, 15 Jan 1997 08:21:14 +0000 (08:21 +0000)]
Added postgres.h include to quiet down the HPUX ports...
POinted out by: Martin S. Utesch <utesch@aut.tu-freiberg.de>
Marc G. Fournier [Wed, 15 Jan 1997 05:58:47 +0000 (05:58 +0000)]
Comment out LD_ADD and DPADD
Bruce Momjian [Tue, 14 Jan 1997 23:06:01 +0000 (23:06 +0000)]
DEC Alpha fix. Missing #.
Bruce Momjian [Tue, 14 Jan 1997 22:58:10 +0000 (22:58 +0000)]
Change to handle bsdi 3.0.
Bruce Momjian [Tue, 14 Jan 1997 16:10:54 +0000 (16:10 +0000)]
Added lines and comments.
Bruce Momjian [Tue, 14 Jan 1997 16:06:03 +0000 (16:06 +0000)]
Re-add -lipc to bsdi port after erroneous removal.