Bruce Momjian
6016148c61
new alpha linux locking from Travis Melhiser <melhiser@viper.co.union.nc.us>
1997-11-07 21:35:41 +00:00
Bruce Momjian
c17fa36d3c
Add Unix domain socket support, from Goran Thyni, goran@bildbasen.se
1997-11-07 20:52:15 +00:00
Thomas G. Lockhart
27b12bfd54
Include transam.h to get NullTransactionId defined
...
for use by recently created macros.
1997-11-07 18:39:38 +00:00
Thomas G. Lockhart
ea567d2fad
Declare routines which support SET keyword = value SQL commands.
1997-11-07 06:45:16 +00:00
Thomas G. Lockhart
7d1f2f8a27
Support alternate database locations.
1997-11-07 06:38:51 +00:00
Vadim B. Mikheev
32cd09ac6d
Good Bye, Time Travel!
1997-11-02 15:27:14 +00:00
Bruce Momjian
0308f91cd2
No more warnings on macros, thanks VAdim.
1997-10-30 23:37:01 +00:00
Bruce Momjian
818f2644e9
Update version to 6.3. dump/reload for 6.1 version users.
1997-10-30 22:09:04 +00:00
Thomas G. Lockhart
cc1b420cfd
Add routines istrue() and isfalse() to directly evaluate boolean type.
1997-10-30 16:45:12 +00:00
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
Vadim B. Mikheev
a74613f478
Cleanups.
1997-09-11 07:24:37 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
075cede748
Add typdefs to pgindent run.
1997-09-08 20:59:27 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Vadim B. Mikheev
bf1d9aeb97
Cleanups.
1997-09-06 11:23:05 +00:00
Thomas G. Lockhart
b647a27cf5
Add comparision routines to support indices on datetime and timespan.
1997-09-04 18:44:29 +00:00
Thomas G. Lockhart
7c243f83e8
Add comparision routines and catalog entries to support indices on
...
datetime and timespan.
1997-09-04 18:43:59 +00:00
Bruce Momjian
9fcd4c25bc
Fix conditional casting.
1997-09-04 16:20:55 +00:00
Vadim B. Mikheev
444369e7b2
struct Trigger changed
1997-09-04 13:26:45 +00:00
Vadim B. Mikheev
9ba606cd24
Prototypes, definitions...
1997-09-04 13:26:19 +00:00
Vadim B. Mikheev
989ab6b1e7
pg_trigger changed
1997-09-04 13:25:14 +00:00
Vadim B. Mikheev
6084c915d0
Triggers added to Relation
1997-09-01 08:13:22 +00:00
Vadim B. Mikheev
b69b815e3a
+ Member for actions in CreateTrigStmt.
1997-09-01 08:11:57 +00:00
Vadim B. Mikheev
2ca45d5729
Function prototypes.
1997-09-01 08:10:12 +00:00
Vadim B. Mikheev
38f0ffd36c
#define TriggerRelationName "pg_trigger"
1997-09-01 08:09:09 +00:00
Thomas G. Lockhart
1bf90bc7d3
Add structure for subselects.
...
Add field to support "WITH TIME ZONE".
1997-09-01 06:04:59 +00:00
Thomas G. Lockhart
1370a08746
Fix return value data type declarations for box_circle() and poly_circle().
1997-09-01 05:46:09 +00:00
Vadim B. Mikheev
8dd090f6da
CREATE/DROP TRIGGER statement nodes
1997-08-31 11:43:09 +00:00
Vadim B. Mikheev
bcf03a7ed6
CREATE/DROP TRIGGER functions
1997-08-31 11:42:21 +00:00
Vadim B. Mikheev
2d7b93c0ca
Welcome, triggers
1997-08-31 09:55:24 +00:00
Vadim B. Mikheev
d8933d5cff
New results destination for SPI manager.
1997-08-29 09:06:27 +00:00
Vadim B. Mikheev
0d0254d1fb
SPI manager.
1997-08-29 09:05:57 +00:00
Vadim B. Mikheev
3152996ffb
Fix very old bug which made tuples changed/inserted by a commnd
...
visible to command itself (so we had multiple update of updated tuples,
etc).
1997-08-29 09:05:25 +00:00
Bruce Momjian
e06099c607
heap_getattr fix for aix.
1997-08-29 00:44:55 +00:00
Vadim B. Mikheev
3751b49545
Number of tuples inserted/affected by INSERT/UPDATE/DELETE...
1997-08-27 09:05:24 +00:00
Vadim B. Mikheev
40ac5a692b
heap_delete returns int now (for non-functional deletes).
1997-08-27 09:03:47 +00:00
Bruce Momjian
75c6c2b608
Inlined heap_getattr().
1997-08-26 23:31:58 +00:00
Bruce Momjian
8d0e658d06
Small cleanup.
1997-08-25 04:15:40 +00:00
Bruce Momjian
c4cb617504
Major patch to speed up backend startup after profiling analysis.
1997-08-24 23:08:01 +00:00
Vadim B. Mikheev
c16d29f990
+ ExecConstraints ()
1997-08-22 14:39:33 +00:00
Bruce Momjian
021778eed3
We store Cash/money as int of size 4, so make it an int rather than a long.
1997-08-22 07:13:01 +00:00
Vadim B. Mikheev
5f7f236ba4
ConstraintDef changed
1997-08-22 04:05:27 +00:00
Vadim B. Mikheev
d67547d82d
Set attbyval for attdisbursion to FALSE
...
Set atttype for relchecks to 21 (int2)
Set relkind for pg_attrdef & pg_relcheck to 'n'
1997-08-22 04:04:19 +00:00
Vadim B. Mikheev
ee5f09f07c
+ CreateTupleDescCopyConstr
...
+ FreeTupleDesc
1997-08-22 03:55:39 +00:00
Bruce Momjian
3dd23aadf0
Allow functions and operators on internally-identical types to succeed.
1997-08-22 00:02:19 +00:00
Bruce Momjian
0ab2921290
Change time function names to be more consistent, and check for zero divides, from Michael Reifenberg.
1997-08-21 23:57:00 +00:00
Vadim B. Mikheev
d37e93aafd
#definitions for pg_attrdef & pg_relcheck names
1997-08-21 04:33:20 +00:00
Vadim B. Mikheev
cc332d612b
AttrConstr --> TupleConstr
1997-08-21 04:10:25 +00:00
Bruce Momjian
e482462960
Rename pg_attribute.attnvals to attdisbursion.
1997-08-21 03:02:13 +00:00
Bruce Momjian
f1edf02cc1
Change pg_attribute.attnvals to float4, change #ifdef 0 to #if 0, fix aix call to strNcpy, fix pg_super_user_id in pg_dumpall, change pg_database.dtadba from oid to int4.
1997-08-21 02:28:55 +00:00