Marc G. Fournier
321d42c6d0
Change ordering of libraries
1997-02-06 05:05:04 +00:00
Bruce Momjian
e9e86aa59d
Include main Makefile.global first so variables are not over-written.
1997-02-06 02:31:52 +00:00
Marc G. Fournier
d04500743b
Oops, just about forgot to commit this one too :(
1997-02-05 21:28:22 +00:00
Marc G. Fournier
b78a3de9a1
Get in there...
1997-02-05 21:27:04 +00:00
Marc G. Fournier
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
Bruce Momjian
0d5f773b72
Update to handle include search paths.
1997-02-05 04:47:20 +00:00
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
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
Marc G. Fournier
20c20b8018
Remove a library check that isn't used right now
1997-02-04 22:17:23 +00:00
Marc G. Fournier
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
Marc G. Fournier
b8ddf4425d
Add conditional for port to bsdi
1997-02-04 21:40:54 +00:00
Marc G. Fournier
4aff83181a
Fix for echo newline suppression detection
...
Submitted by: Keith Parks
1997-02-04 09:16:08 +00:00
Marc G. Fournier
14be8d35b5
Remove default GNUmakefile and Makefile.global
...
Change reference to Postgres95 to PostgreSQL in GNUmakefile
1997-02-04 09:13:59 +00:00
Marc G. Fournier
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
Marc G. Fournier
a20440b210
Final file required for autoconf, so far...
1997-02-04 08:54:47 +00:00
Marc G. Fournier
bc564084a3
Bring back in the autoconf files - work in progress
1997-02-04 08:53:45 +00:00
Marc G. Fournier
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
Marc G. Fournier
a1019b6ca7
AIX *does* have <sys/select.h>
...
Pointed out by Darren King
1997-01-30 16:02:38 +00:00
Marc G. Fournier
3facbfc28e
Revisions to customize for READLINE support
...
From Andrew Martin
1997-01-30 03:56:53 +00:00
Marc G. Fournier
6791355823
aix does have <termios.h>
...
pointed out by Darren King
1997-01-30 03:54:13 +00:00
Marc G. Fournier
abd38d8b22
Linux doesn't have sys/select.h...
1997-01-29 04:49:14 +00:00
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.
1997-01-29 02:59:03 +00:00
Bruce Momjian
35e2d29c2b
Added comment to readline defines.
1997-01-28 13:53:50 +00:00
Bruce Momjian
9c931e08ba
Moved readline stuff into Makefile.global.
1997-01-28 03:47:01 +00:00
Marc G. Fournier
6ab9db7b78
Apply usage patches for European Dates patch from Keith
1997-01-27 22:37:52 +00:00
Marc G. Fournier
83d7b271db
Quick patch from Andrew to recognize nextstep vs next as a port
1997-01-27 20:31:47 +00:00
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...
1997-01-27 01:51:26 +00:00
Marc G. Fournier
a246e87d12
Convert MISSING_SYSCONF to !HAVE_SYSCONF for autoconf
...
From: Keith Parks
1997-01-27 00:09:47 +00:00
Bruce Momjian
197c7f5486
More removals for next/nextstep. Fix IPC lib for them.
1997-01-26 20:22:33 +00:00
Bruce Momjian
1836ce2c81
Change next to nextstep where missed.
1997-01-26 20:15:26 +00:00
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);
1997-01-26 17:28:48 +00:00
Marc G. Fournier
1d8a696fd5
Remove #include "rlstubs.h", since it doesn't exist anymore
1997-01-26 17:27:32 +00:00
Marc G. Fournier
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
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
1997-01-26 15:32:28 +00:00
Bruce Momjian
ac3c926c42
Fix typo in struct name.
1997-01-26 00:45:25 +00:00
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...
1997-01-25 23:54:08 +00:00
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
1997-01-25 22:52:08 +00:00
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...
1997-01-25 22:16:43 +00:00
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
1997-01-25 21:58:08 +00:00
Marc G. Fournier
49f30e80fc
Some fixes for using configure under sparc_solaris
1997-01-25 21:55:37 +00:00
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
1997-01-25 21:09:20 +00:00
Bruce Momjian
4eadf2d6cd
More autosize structure error checks.
1997-01-25 21:01:16 +00:00
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
1997-01-25 19:29:47 +00:00
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
1997-01-25 19:25:05 +00:00
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.
1997-01-25 19:23:43 +00:00
Marc G. Fournier
b1fd1f6998
remove asm/bitops.h, as its causing more problems then it fixes.
1997-01-25 19:22:27 +00:00
Marc G. Fournier
9921eae7a5
Add YACC= bison -y as per Andrew's request...
1997-01-25 19:19:35 +00:00
Marc G. Fournier
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
Bruce Momjian
6dbe1be690
Restructure padding to handle structure already 128 bytes(alpha).
1997-01-25 03:09:33 +00:00
Marc G. Fournier
60265ee651
Switch over NEED_RUSAGE to HAVE_RUSAGE for configure
1997-01-24 23:48:32 +00:00
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
Bruce Momjian
5fefb9f8e7
Add include files needed for stat().
1997-01-18 16:14:04 +00:00
Bryan Henderson
9010e0e686
Rename Makefile to GNUMakefile and add a "use GNU Make" Makefile so people
...
don't accidentally use non-GNU make.
1997-01-18 08:01:32 +00:00
Bryan Henderson
fdcf8b62bc
Set LD = gcc for Linux so shared libpq build works.
1997-01-18 07:56:52 +00:00
Bruce Momjian
bc18c38d1a
Prevent UNIQUE indexes for non-btree access methods.
1997-01-18 05:48:07 +00:00
Bruce Momjian
3827f4e7f0
Remove blank lines.
1997-01-18 03:26:08 +00:00
Bruce Momjian
aa91f930a4
Removed unneeded custom shell script call.
1997-01-17 23:48:50 +00:00
Bruce Momjian
4defb8f393
Add pg_dump's option meanings to the manual page.
1997-01-17 18:36:32 +00:00
Marc G. Fournier
1760f08616
Unapply a patch that wasn't a patch...
1997-01-16 18:05:12 +00:00
Marc G. Fournier
64836996f9
Minor change to file point out by Andrew
1997-01-16 16:13:40 +00:00
Marc G. Fournier
f8a41a0b91
This is one of those patches that obviously fixes something, just not
...
sure exactly what it is it fixes...
1997-01-16 16:11:09 +00:00
Bruce Momjian
3d97a61a60
Added pg_dumpall to source tree.
1997-01-16 15:28:34 +00:00
Bruce Momjian
3a02ccfa1d
Change EXPLAIN options to just use VERBOSE.
1997-01-16 14:56:59 +00:00
Vadim B. Mikheev
b00c2c1d3f
FlushLocalBuffer () releases buffer only if required
...
by caller.
1997-01-16 08:13:14 +00:00
Vadim B. Mikheev
eb08b3ce4f
No more LateWrite, but there is WriteMode;
...
SetBufferWriteMode () added;
FlushBuffer () fixed: now directly calls smgrflush () and
releases buffer only if required by caller.
1997-01-16 08:11:41 +00:00
Vadim B. Mikheev
1c297d429e
No more LateWrite.
1997-01-16 08:04:30 +00:00
Vadim B. Mikheev
cbc7af81f3
VariableRelationPutNextXid () now flushes variable relation
...
after writing next free XID.
1997-01-16 07:59:11 +00:00
Vadim B. Mikheev
5abfe1484a
SetBufferWriteMode () added; FlushLocalBuffer () fixed (shouldn't
...
release buffer if called from WriteNoReleaseBuffer ())
1997-01-16 07:53:27 +00:00
Bryan Henderson
9e41af2e74
Add inet_aton() prototype.
1997-01-16 06:32:17 +00:00
Vadim B. Mikheev
3677e86f7f
textin fixed: no more zero-byte (thanks, Erich)
1997-01-16 03:53:51 +00:00
Marc G. Fournier
f02bd93350
Added postgres.h include to quiet down the HPUX ports...
...
POinted out by: Martin S. Utesch <utesch@aut.tu-freiberg.de>
1997-01-15 08:21:14 +00:00
Marc G. Fournier
f413385f07
Comment out LD_ADD and DPADD
1997-01-15 05:58:47 +00:00
Bruce Momjian
a514dded2a
DEC Alpha fix. Missing #.
1997-01-14 23:06:01 +00:00
Bruce Momjian
68de42dff3
Change to handle bsdi 3.0.
1997-01-14 22:58:10 +00:00
Bruce Momjian
60e6d6fe0f
Added lines and comments.
1997-01-14 16:10:54 +00:00
Bruce Momjian
755b1f6561
Re-add -lipc to bsdi port after erroneous removal.
1997-01-14 16:06:03 +00:00
Bryan Henderson
182052767a
Put back -lm for non-nextstep ports.
1997-01-14 08:19:41 +00:00
Bryan Henderson
05b0f22900
Eliminate dupliclate definition of external variables reldesc and DataDir.
...
Some compilers recognize this error.
1997-01-14 08:05:36 +00:00
Marc G. Fournier
025f281dca
I'm going t take a chance that this was a mis-spelling, since
...
all the other port related dependencies are ifeq, not ifneq..
If I'm wrong, someone tell me or change it back...
1997-01-14 06:41:51 +00:00
Vadim B. Mikheev
2ca05fe45d
ReleaseTmpRelBuffers is ReleaseRelationBuffers now.
1997-01-14 05:40:45 +00:00
Vadim B. Mikheev
791e9973ab
heap_destroy () releases dirty buffers of a relation to be
...
destroyed.
1997-01-14 05:38:23 +00:00
Vadim B. Mikheev
cbac986736
There is no more ReleaseTmpRelBuffers, but ReleaseRelationBuffers.
1997-01-14 05:36:15 +00:00
Bruce Momjian
f56b4f1d59
Cleanup for DEBUG: removal in initdb.sh.
1997-01-14 03:07:15 +00:00
Bruce Momjian
6fafb4d370
Prevent initdb from showing vacuum statistics.
1997-01-14 03:02:06 +00:00
Bruce Momjian
3a646df4c0
Remove CFLAGS_SL from lib/Makefile
1997-01-14 02:35:34 +00:00
Bruce Momjian
42efa28cf7
There are two prototypes for inet_aton, one in include/inet_aton.h, and
...
another one in Solaris' port-protos.h.
The following patch will bring inet_aton's prototype into scope for
Ultrix to silence a compilation warning.
If the intention is to have inet_aton's prototype in its own header
filer, the declaration in Solaris' port-protos.h should be removed.
If the declaration in port-protos.h is deemed to be the correct
place, a declaration should be added in Ultrix' port-protos.h
regards
Erik Bertelsen
1997-01-14 01:56:44 +00:00
Bruce Momjian
e3c4ac15d3
Another compilation error has surfaced on Ultrix. In spin.c, sem.h must be
...
included after storage/ipc.h like other similar cases that were changed
recently.
This one has popped up during the last few days.
My sources are sup'ed today, 13. jan 1996.
regards
Erik Bertelsen.
1997-01-14 01:53:11 +00:00
Bruce Momjian
abeaabef2e
Restored original pg_type/pg_attribute defaults. Regression fixes.
1997-01-14 01:42:38 +00:00
Marc G. Fournier
40f4a330b7
Andrew's Makefile.custom generation program...hopefully should
...
reduce *some* confusion, eh? :)
From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
1997-01-13 18:54:30 +00:00
Bruce Momjian
949cfe5271
Update create_index manual page to have unique section.
1997-01-13 17:22:25 +00:00
Bruce Momjian
2d04411bea
Re-add -lm link flag
1997-01-13 17:07:45 +00:00
Bruce Momjian
a53f72e38b
Change -lIPC to -lipc.
1997-01-13 17:04:04 +00:00
Bruce Momjian
ed3db60321
Fix typo in findstring use.
1997-01-13 16:47:52 +00:00
Bryan Henderson
6ece8a8d0b
Part of patch to make a working nextstep port.
1997-01-13 03:54:48 +00:00
Bruce Momjian
0d3bf78e0b
Added VERBOSE option to vacuum command.
1997-01-13 03:45:33 +00:00
Bruce Momjian
febfe447a7
Oops, introduced a bug in EOF handling. Fix it.
1997-01-13 02:35:32 +00:00
Bruce Momjian
cac3463649
No EOF from psql when quiet mode.
1997-01-13 02:03:31 +00:00
Bryan Henderson
2de3d96f69
Add nextstep port, courtesy of Ovidiu Predescu.
1997-01-13 01:26:29 +00:00
Marc G. Fournier
ef228cb170
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
...
OK, The votes are in for the NOFILES limit.
With the exception of Next, for which I've not yet heard, all supported platforms
seem to have the sysconf() call.
port supported default Source.
aix yes 2000 darrenk@insightdist.com
alpha yes 4096 mjl@wwx.vip.at
BSD44_derived yes 64 scrappy@hub.org
bsdi yes ??? maillist@candle.pha.pa.us
dgux yes ??? geek@andrew.cmu.edu
hpux yes 60 emkxp01@mtcc.demon.co.uk
i386_solaris yes 64 emkxp01@mtcc.demon.co.uk
irix5 yes 200 martin@biochem.uc.ac.uk
linux yes 256 emkxp01@mtcc.demon.co.uk
next ???? ???
sparc_solaris yes 64 emkxp01@mtcc.demon.co.uk
sunos4 yes 64 emkxp01@mtcc.demon.co.uk
svr4 yes 64 chicks@chicks.net
ultrix4 yes 64 erik@sockdev.uni-c.dk
So here's a patch that I think will do the job.
(I assume Next will have sysconf() but if not just add MISSING_SYSCONF to
the config.h file )
Thanks,
Keith.
1997-01-13 01:25:29 +00:00
Bruce Momjian
2595785b9b
Shared library cleanup for -fpic.
1997-01-12 04:25:23 +00:00
Marc G. Fournier
e2e6b2d730
Fixes:
...
I forgot to clear out the variable created and the memory used.
From: darcy@druid.net (D'Arcy J.M. Cain)
1997-01-11 14:28:51 +00:00
Marc G. Fournier
8738e47d03
From: darcy@druid.net (D'Arcy J.M. Cain)
...
Fix for libpgtcl:
I forgot to clear out the variable created and the memory used.
1997-01-11 14:24:40 +00:00
Bruce Momjian
ce02ccf43d
I've noticed that \i filename in 6.0beta prints the input file double-spaced.
...
Here is a trivial patch to get back the 1.09 behavior; it just removes trailing
newlines before printing the line out with a newline rather than after...
Thomas Lockhart
1997-01-10 20:52:32 +00:00
Bruce Momjian
0567d7edb0
Remove octal character constants and convert to decimal constants
1997-01-10 20:44:41 +00:00
Bruce Momjian
a5dd06f763
include sem.h added, include string.h neede, from Erik Bertelsen for Ultrix
1997-01-10 20:19:49 +00:00
Bruce Momjian
ccaf3854d7
Irix fixes from Martin
1997-01-10 19:30:27 +00:00
Bruce Momjian
63b22d8aa9
cleanup for LINUX_ELF
1997-01-10 18:55:24 +00:00
Bruce Momjian
37c168f6ba
timeb.h only used when not using POSIX_TIME
1997-01-10 18:22:41 +00:00
Bruce Momjian
59dcac1e5d
Makefile's -fpic only for gcc
1997-01-10 18:19:02 +00:00
Bruce Momjian
a0d9bdd99b
Massimo fix for non-existant file copy error.
1997-01-10 17:46:33 +00:00
Bruce Momjian
90ff767d14
I found the following bugs in the version 6.0 (dated 961229).
...
At least the first two should be fixed before the final release of 6.0.
1) There is a mismatch between the type declared in the catalog for
the input/output attributes of pg_type and the actual type of
values stored in the table. The type of typinput, typoutput,
typsend and typreceive are declared oid (26) while the values are
regproc (24). The error was there also in previous versions but
nobody noticed it until an Assert has been added in ExecEvalVar.
The effect is that it is now impossible to replace the typoutput
of existing data types with new procs.
2) The identd hba fails after the first time because the data read
from the identd socket is not zero-terminated and strlen reports
an incorrect length if the stack contains garbage, which usually
happens after the first connection has been made.
3) The new initdb wants to create itself the data directory. This
implies that the parent directory must be writable by postgres and
this may not always be desirable. A better solution would be to
allow the directory to be created by root and then filled by initdb.
It would also nice to have some reasonable default for PGLIB and
PGDATA like the previous version did. This applies also to the
postmaster executable.
1997-01-10 17:40:07 +00:00
Vadim B. Mikheev
daec84f09d
Fixed (I hope) unique btree index implementation.
1997-01-10 10:06:20 +00:00
Vadim B. Mikheev
c6a605705c
index_insert has now HeapRelation as last param (for unique index
...
implementation).
1997-01-10 10:00:39 +00:00
Vadim B. Mikheev
f48936e8ef
index_insert has now HeapRelation as last param (for unique index
...
implementation).
1997-01-10 09:51:40 +00:00
Vadim B. Mikheev
675457d6ab
index_insert has now HeapRelation as last param (for
...
unique index implementation).
1997-01-10 09:46:33 +00:00
Vadim B. Mikheev
c7990b35f7
index_insert has now HeapRelation as last param (for
...
unique index implementation).
1997-01-10 09:36:34 +00:00
Vadim B. Mikheev
41857f3ca2
Additional fixes for shared library (BSD44_Derived port).
1997-01-10 04:01:09 +00:00
Vadim B. Mikheev
f91b26a5da
#include <postgres.h> moved upper
1997-01-09 03:38:14 +00:00
Marc G. Fournier
389e336ca9
From: wieck@sapserv.debis.de
...
Hi,
counting the empty dummy queries in libpq isn't everything.
If the backend sends an error, the I returns from the dummies
still come. So we must eat them up in any case, not just
returning on the occurence of an E reply.
Until later, Jan
1997-01-08 23:25:32 +00:00
Bruce Momjian
16293d05e0
Removed equals sign from examples.
1997-01-08 22:37:23 +00:00
Vadim B. Mikheev
ce5009f99b
#include "postgres.h"
...
moved upper.
1997-01-08 10:33:46 +00:00
Bryan Henderson
3c4b21493d
Use proper types so it compiles on DEC C89. Thanks Erik Bertelson.
1997-01-08 08:39:10 +00:00
Bryan Henderson
5e98c40129
Change the way ipc.h is included because sys/ipc.h on Ultrix is broken.
1997-01-08 08:33:07 +00:00
Bryan Henderson
e5ff0b930a
Add include of port-protos.h so it works on Ultrix. Thanks Erik Bertelson.
1997-01-08 08:31:07 +00:00
Bryan Henderson
76981276b0
Fix syntax error
1997-01-08 08:30:21 +00:00
Marc G. Fournier
5aea6a0bca
minor path problem fix by tgl@mythos.jpl.nasa.gov
1997-01-08 07:32:58 +00:00
Marc G. Fournier
d02015d1cc
Typo: Change Postgres95 to PostgreSQL
...
By: tgl@mythos.jpl.nasa.gov
1997-01-08 07:32:15 +00:00
Marc G. Fournier
73b6ffbf76
Improvements to pg_dump to:
...
- dump Views
Submitted by: Keith Parks <emkxp01@mtcc.demon.co.uk>
1997-01-07 00:04:19 +00:00
Bryan Henderson
14800311d2
Fix mismatching prototype (const int vs int)
1997-01-06 10:11:11 +00:00
Bryan Henderson
2091345297
Add Irix stuff.
1997-01-06 10:10:43 +00:00
Marc G. Fournier
046873ac90
REmove pg4_dump...its old stuff that is sooo out of date as to be useless...
1997-01-06 03:25:40 +00:00
Marc G. Fournier
5b104c30e9
NeXT port specific changes by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
1997-01-06 00:24:24 +00:00
Marc G. Fournier
a9bfcf459e
PORT NeXT requires an isascii() define...put it in config.h, most likely
...
*should* have gone into the ports directory, but hopefully *someday* we'll
be able to get rid of that?
1997-01-06 00:22:55 +00:00
Marc G. Fournier
151d484ca5
Minor changes for NeXT compile
...
Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
1997-01-06 00:20:13 +00:00
Marc G. Fournier
3d53b87369
More config.h syncing for limits.h
1997-01-06 00:15:26 +00:00
Marc G. Fournier
8ec5bd06b7
Add NeXT port submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
1997-01-06 00:12:34 +00:00
Marc G. Fournier
1321fe1a81
Clean up 'if defined()' for header files...
1997-01-06 00:08:31 +00:00
Marc G. Fournier
5f5958cb98
add define for USE_LIMIT_H into NeXT port...
...
Pointed out by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
1997-01-06 00:08:07 +00:00
Marc G. Fournier
8251ce7d10
final fix for shared library under BSD44_derived
...
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
1997-01-05 23:53:57 +00:00
Marc G. Fournier
0865f587ea
Shared library fixes for BSD44_Derived port
...
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
NOTE: The following patch I was uncertain of, but applied it...will end up
testing the compile on my machine later tonight anyway, but if anyone
knows why this *shouldn't* have been done, please change it. (CC -> LD)
***************
*** 61,68 ****
../backend/lib/dllist.o:
$(MAKE) -C ../backend/lib dllist.o
! libpq.so.1: $(OBJS)
! $(CC) $(LDFLAGS) -shared $(OBJS) -o libpq.so.1
c.h: ../include/c.h
rm -f c.h
--- 66,73 ----
../backend/lib/dllist.o:
$(MAKE) -C ../backend/lib dllist.o
! $(shlib): $(OBJS)
! $(LD) $(LDFLAGS) -shared $(OBJS) -o $(shlib)
c.h: ../include/c.h
rm -f c.h
1997-01-05 23:52:21 +00:00
Marc G. Fournier
ea7a26c84b
Fixes:
...
This corrects the newline handling when using the readline library.
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
1997-01-05 23:46:17 +00:00
Marc G. Fournier
3bfbe9a7fd
Fixes:
...
First, this is because of dlopen() and dlsym() having a char *
in the system prototype.
Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>
1997-01-05 23:43:58 +00:00
Marc G. Fournier
d57d3626cb
Just reviewed what I changed as far a dlopen/etc are concerned, and determined
...
that the "fix" is wrong...
1997-01-05 23:41:43 +00:00
Bryan Henderson
7bfb924aea
Silence compiler warnings, fix error in complex compare function.
1997-01-05 21:20:34 +00:00
Bryan Henderson
227015b08e
Standardize all LDADD to LD_ADD.
1997-01-05 21:17:45 +00:00
Vadim B. Mikheev
068a4c53af
Closing opened indices.
1997-01-05 10:58:15 +00:00
Vadim B. Mikheev
8fa5394c49
Releasing empty root page in _bt_endpoint () to avoid
...
buffer leak.
1997-01-05 10:56:36 +00:00
Marc G. Fournier
b5164666a3
someone added pg_listen and pg_notifies to libpgtcl. But first
...
these routines try to use the old pointer casting stuff to get
the connection id, second the notification hash table should
be part of the cliendData. Otherwise, one interpreter might
eat up the notifies for another one.
Please apply the patch below to the current 6.0 tree.
Submitted by: wieck@sapserv.debis.de
1997-01-03 18:48:31 +00:00
Bruce Momjian
461d22206f
documentation updating to 6.0 release
1997-01-03 06:08:21 +00:00
Marc G. Fournier
4f8db3eb4c
FreeBSD doesn't require the dl{open,close,sym,error} functions, as they are
...
already included in the system libraries.
Used if !defined(__FreeBSD__) to single FreeBSD out from the other BSD44
derived OSs
1997-01-03 04:59:01 +00:00