Bruce Momjian
58ed1232f5
Fix for netbsd locking, from Henry B. Hotz.
1997-10-30 05:24:19 +00:00
Vadim B. Mikheev
7bff4c5078
Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan).
1997-10-28 15:11:45 +00:00
Vadim B. Mikheev
6855820e8f
c.h:
...
#define StrNCpy(dst,src,len) \
(strncpy((dst),(src),(len)),(len > 0) ? *((dst)+(len)-1)='\0' : \
NULL,(void)(dst))
^^^^^^ - to avoid "value computed is not used" from gcc
in ma-a-any places (should to fix thouse places instead, but ...
time)
config.h.in:
/*
* TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside
* transaction block after this query is done.
*/
#define TBL_FREE_CMD_MEMORY
- this is default now.
1997-10-27 12:07:13 +00:00
Thomas G. Lockhart
60fee0d67c
Add conversion routines for int2, int4, and oid to and from text.
...
Change a few routine names to ensure <= 16 characters in name
to fit correctly into pg_proc.
1997-10-25 05:40:43 +00:00
Thomas G. Lockhart
d8e260646e
Reassign cash/float4 arithmetic operator oids to avoid duplicate oids.
1997-10-25 05:31:55 +00:00
Thomas G. Lockhart
a9a91b54c6
Add conversion functions for int2, int4, oid to and from text.
...
Shorten a few routine names to <= 16 characters long to fit in table.
1997-10-25 05:29:48 +00:00
Thomas G. Lockhart
b5f582b7ab
Rename column to avoid "action" SQL92 reserved word.
1997-10-25 05:25:10 +00:00
Bruce Momjian
789d075021
StrNCpy cleanup.
1997-10-25 02:14:22 +00:00
Bruce Momjian
f3af1368bd
Rename strNcpy to StrNCpy, and change third parameter.
1997-10-25 01:10:58 +00:00
Bruce Momjian
a805635d21
Cleanups for 6.2.1.
1997-10-16 04:14:30 +00:00
Vadim B. Mikheev
78351f422b
Fix for backward cursors with ORDER BY.
1997-10-15 06:36:36 +00:00
Thomas G. Lockhart
ba2358896a
Fix final function for cash avg() aggregate.
...
Wrong function referenced in previous versions.
1997-10-15 01:08:25 +00:00
Thomas G. Lockhart
070d494464
Clean up function declarations for the boolean type package
...
to use bool as the type for arguments and return values.
1997-10-09 05:07:25 +00:00
Marc G. Fournier
f1bfc520c0
We never do remember to up the PG_VERSION number, do we? :(
1997-10-03 17:31:29 +00:00
Bruce Momjian
83cd375cd2
Linux/alpha patch from Dan Maynard
1997-10-03 15:27:18 +00:00
Bruce Momjian
d663f1c839
Sparc lock fix for Linux/netbsd.
1997-10-02 18:32:58 +00:00
Bruce Momjian
cb9604f2ac
Add support for NetBSD/sparc.
1997-09-30 16:21:42 +00:00
Vadim B. Mikheev
51689ece82
MOVE implementation (added bool ismove to FetchStmt).
1997-09-29 06:01:46 +00:00
Bruce Momjian
4b9fb26648
HPUX patches from Vladimir Turin.
1997-09-29 03:27:18 +00:00
Bruce Momjian
725a03eb4b
Make GetAttributeByNum visible again for external use.
1997-09-27 14:37:21 +00:00
Bruce Momjian
4a98c5763e
Back out inclusion of postgres.h.
1997-09-25 16:52:23 +00:00
Bruce Momjian
2f4275327e
Massive examples fix from Nicola Bernardelli
1997-09-25 16:35:52 +00:00
Bruce Momjian
be5241420a
S_LOCK_FREE fix.
1997-09-25 01:48:58 +00:00
Bruce Momjian
ebb3008dbd
Fix for S_FREE_LOCK.
1997-09-24 23:37:26 +00:00
Vadim B. Mikheev
1777ba4c80
+ SPI_palloc(), SPI_repalloc(), SPI_pfree()
1997-09-24 08:32:09 +00:00
Bruce Momjian
09dfed4022
Cleanup backslashes.
1997-09-22 18:14:25 +00:00
Bruce Momjian
a2a0842d1c
Fix for missing tas on some platforms.
1997-09-22 15:59:19 +00:00
Bruce Momjian
85f7555132
Small lock cleanup for prototype.
1997-09-22 15:49:14 +00:00
Vadim B. Mikheev
94e52d38df
Two copies...
1997-09-22 04:21:51 +00:00
Thomas G. Lockhart
354a18fcb2
Add tinterval comparison operators.
...
Add integer/money arithmetic.
1997-09-20 16:29:38 +00:00
Thomas G. Lockhart
aae2420e8b
Add point_ne() comparison routine.
1997-09-20 16:25:28 +00:00
Thomas G. Lockhart
d0ab9c3f81
Add tinterval comparison routines.
1997-09-20 16:24:39 +00:00
Thomas G. Lockhart
2b83160dca
Add integer/money arithmetic from Darren King.
1997-09-20 16:23:47 +00:00
Bruce Momjian
0f928c2d21
UPdate memset macro.
1997-09-18 18:48:32 +00:00
Bruce Momjian
79cb0fd9bb
Cleanup for memset macro.
1997-09-18 17:06:21 +00:00
Marc G. Fournier
220941dac5
Add in srandom() check to configure
...
Add appropriate HAVE_{RANDOM,SRANDOM} values to config.h
Add approrpiate #ifdef's to sparc_solaris port files for Solaris v2.6
1997-09-18 16:09:41 +00:00
Vadim B. Mikheev
a6e0803a7f
No more SortTuplesInTree...
1997-09-18 14:42:35 +00:00
Bruce Momjian
8cb4154492
Inline frequently called functions.
1997-09-18 14:21:02 +00:00
Vadim B. Mikheev
bbe2c10c14
Addded to Psortstate:
...
lt_tupcount - number of tuples in struct leftist *Tuples
lasttuple - last tuple put to disk by createfirstrun()
1997-09-18 05:42:01 +00:00
Vadim B. Mikheev
7ffd2c09c8
+ SortTuplesInTree
1997-09-18 05:38:09 +00:00
Bruce Momjian
df7a435587
Mklinux patch from Tatsuo.
1997-09-16 16:25:28 +00:00
Vadim B. Mikheev
f3e9cf9c6b
Fix pfree problem.
1997-09-15 14:29:01 +00:00
Bruce Momjian
0a3cee72ac
Add mention of heap_getattr() compiler warning.
1997-09-14 03:59:44 +00:00
Bruce Momjian
aa0bad9638
Remove that 5 from MESSAGE SIZE that no one understands.
1997-09-12 22:26:13 +00:00
Bruce Momjian
cf5a8723dd
Increase default geqo parameter to 8.
1997-09-12 21:25:10 +00:00
Bruce Momjian
7044dd7ec8
Fix heap_getattr bug I just added.
1997-09-12 14:29:04 +00:00
Vadim B. Mikheev
4587547f13
Added: SPI_copytuple() & SPI_modifytuple()
1997-09-12 08:37:52 +00:00
Bruce Momjian
b6bd3da520
Macro cleanup of heap_getattr.
1997-09-12 05:58:18 +00:00
Vadim B. Mikheev
7f97e05b09
char* --> Datum
1997-09-12 04:58:59 +00:00
Bruce Momjian
1ea01720d5
heapattr functions now return a Datum, not char *.
1997-09-12 04:09:08 +00:00