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
b1fd1f6998
remove asm/bitops.h, as its causing more problems then it fixes.
1997-01-25 19:22:27 +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
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
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
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
e1e8301cdf
Small fixes for SVR4 port by Frank Ridderbusch
1997-01-23 15:58:34 +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
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
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
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
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
Bruce Momjian
bc18c38d1a
Prevent UNIQUE indexes for non-btree access methods.
1997-01-18 05:48:07 +00:00
Marc G. Fournier
64836996f9
Minor change to file point out by Andrew
1997-01-16 16:13:40 +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
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
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
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
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
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
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
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
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