Marc G. Fournier
970e3f69b7
I reversed a bunch of the #define's inadvertantly...
...
Fixed them, and am re-committing
1997-01-24 23:36:33 +00:00
Marc G. Fournier
a961613f49
Missed this when I removed the rest of the configure stuff
1997-01-24 23:35:16 +00:00
Marc G. Fournier
c19b247aec
Change NEED_SIG_JMP to HAVE_SIGSETJMP in preparation for configure
1997-01-24 22:42:35 +00:00
Marc G. Fournier
f12c5f898c
Another switch for configure: NEED_SYS_SELECT_H to HAVE_SYS_SELECT_H
1997-01-24 18:27:32 +00:00
Marc G. Fournier
0a16069901
Convert NEED_{RINT,CBRT,ISINF} to HAVE_* in prepration for configure...
1997-01-24 18:17:37 +00:00
Marc G. Fournier
3ffd5694dd
Replace occurances of USE_{LIMITS,VALUES}_H with HAVE_* in preparation
...
for switch over to configure
1997-01-24 18:00:48 +00:00
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
1997-01-24 17:47:39 +00:00
Marc G. Fournier
1ac3ea9dcf
This should clean everything up back to pre-configure status
1997-01-24 17:32:34 +00:00
Marc G. Fournier
03f0136990
Remove all the configure related stuff...
1997-01-24 17:09:11 +00:00
Marc G. Fournier
29d3deb3e8
Slight oops...Makefile.global generated by configure *wasn't* supposed
...
to be committed...
1997-01-24 16:18:50 +00:00
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...
1997-01-24 04:09:41 +00:00
Marc G. Fournier
ca6da613cd
Have configure auto-detect more of the libraries, and shorten out
...
the ports section of Makefile.global as a result.
1997-01-24 03:57:14 +00:00
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?
1997-01-24 03:19:48 +00:00
Marc G. Fournier
18d245cda4
Auto-sense lib{readline,history,curses,termcap}
...
Autoconf bin/psql/Makefile
1997-01-24 02:35:31 +00:00
Marc G. Fournier
cb31156b86
Have Makefile autoconf'd according to whether the system has
...
readline and associated libraries...
1997-01-24 02:35:27 +00:00
Marc G. Fournier
d22b65d73c
Stray endif prevents compile
1997-01-24 01:23:23 +00:00
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 :)
1997-01-24 00:42:22 +00:00
Marc G. Fournier
ef239de03f
Makefile.global.in currently should reflect what Makefile.global
...
in v6.0 does...
1997-01-23 23:48:08 +00:00
Marc G. Fournier
83267ffa4f
Okay, GNUmakefile.in == GNUmakefile, except for the stuff that
...
configure is auto-finding
1997-01-23 23:36:41 +00:00
Marc G. Fournier
36f7766a18
Add config.h to configure
1997-01-23 23:31:39 +00:00
Marc G. Fournier
792913f415
Forgot, we don't use Makefile anymore.
...
Mv Makefile.in to GNUmakefile.in and reflect the change in the
configure script
1997-01-23 23:24:14 +00:00
Marc G. Fournier
2732075b78
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"...
1997-01-23 22:50:14 +00:00
Marc G. Fournier
fdaf47f9f4
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>
1997-01-23 19:47:18 +00:00
Marc G. Fournier
37a8bdba43
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>
1997-01-23 19:43:23 +00:00
Marc G. Fournier
5184bd7cb3
Document and enable ACLGROUP_PATCH submitted by Massimo
1997-01-23 19:39:40 +00:00
Marc G. Fournier
1e5755cf73
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.
1997-01-23 19:33:31 +00:00
Bruce Momjian
fa937b5e6b
Remove SB_PAD. Compute padding at compile time.
1997-01-23 18:15:29 +00:00
Marc G. Fournier
f0ff9ac0c2
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?
1997-01-23 16:04:25 +00:00
Marc G. Fournier
e1e8301cdf
Small fixes for SVR4 port by Frank Ridderbusch
1997-01-23 15:58:34 +00:00
Bruce Momjian
57148f657f
Added EXAMPLES section.
1997-01-23 06:01:07 +00:00
Bruce Momjian
94515e3522
Removed unlinked patch that is not neede now that Vadim has properly fixed it.
1997-01-23 05:59:47 +00:00
Bryan Henderson
6e725b2986
Add "else true" to make it magically work on Ultrix.
1997-01-23 05:16:13 +00:00
Vadim B. Mikheev
fb24bfa3ce
INDEXSCAN_PATCH changes: should work for (Param OP VAR) too
...
(but I didn't test FUNC OP PARAM and PARAM OP FUNC - no time)
1997-01-22 06:30:57 +00:00
Vadim B. Mikheev
1aa1827d64
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').
1997-01-22 06:25:42 +00:00
Vadim B. Mikheev
8e90978146
Fixing bug in INDEXSCAN_PATCH:
...
ExecInitIndexScan now works with operands of Param type and
(!!!) postquel_execute() now substitutes param values
before calling postquel_start().
1997-01-22 05:26:50 +00:00
Marc G. Fournier
6850a96933
Another change from /usr/include/machine/limits.h to just limits.h
1997-01-22 04:56:34 +00:00
Marc G. Fournier
c1392c57cf
Another one that should be including limits.h vs machine/limits.h
1997-01-22 04:45:45 +00:00
Marc G. Fournier
f504e5a253
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
1997-01-22 04:41:45 +00:00
Marc G. Fournier
0aa4cfca5d
the i386_solaris port requires inet_aton.o
...
Pointed out by Mark Wahl
1997-01-22 04:15:53 +00:00
Bruce Momjian
84876289cc
Cast constants to the type of the other binary operand.
...
Invalidate vacuum relation cache to use new row counts from vacuum.
1997-01-22 01:44:02 +00:00
Bryan Henderson
a4ee68d1d4
Add link options for libpq library search.
1997-01-21 05:16:38 +00:00
Bruce Momjian
0f90c7a009
Rename GNUMakefile to GNUmakefile so gmake finds it.
1997-01-21 01:27:18 +00:00
Marc G. Fournier
b7d6e8ac92
Made the patch, but forgot to commit it...
1997-01-20 14:23:03 +00:00
Vadim B. Mikheev
9ff69034b2
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.
1997-01-20 04:36:48 +00:00
Vadim B. Mikheev
deef313fd0
New flag for BufferDesc - BM_JUST_DIRTIED, - to prevent
...
losing data changes.
1997-01-20 04:06:13 +00:00
Vadim B. Mikheev
9d1879388f
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 ().
1997-01-20 04:01:50 +00:00
Bryan Henderson
52052f3a19
Use gcc to make Linux ELF shared library, instead of ld.
1997-01-20 00:51:38 +00:00
Bryan Henderson
c7375c799a
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.
1997-01-19 22:12:18 +00:00
Bruce Momjian
604f4a6928
Update handling of backslashes, and pg_user dump.
1997-01-19 10:15:59 +00:00
Bruce Momjian
6ffae202a9
Add missing #.
1997-01-18 17:36:02 +00:00