Thomas G. Lockhart
abedcddbd1
Change hash field for a few equality operators so all have it set.
...
Don't know why these few were not already this way, and don't know if
there is some hidden problem with this, but assume it was done
accidentally as entries were copied from other operators.
Regression tests are OK, but...
Move one block of declaration source to keep OIDs in increasing order.
Did not change OID values, just moved source code.
1997-11-30 22:49:22 +00:00
Thomas G. Lockhart
9faa6cabc5
Add pg_type.h to include list to regain declaration of type OID assignments.
...
Lost these when some include files were reorganized.
Regression test could not compile.
1997-11-30 22:42:58 +00:00
Bruce Momjian
002796b5ca
Rename heap_destroyr to heap_destroy, heap_destroy to heap_destroy_with_catalog.
1997-11-28 17:28:02 +00:00
Bruce Momjian
c445ba331b
Rename heap_create to heap_create_and_catatlog, rename heap_creatr to heap_create().
1997-11-28 04:40:40 +00:00
Bruce Momjian
d79b9a1b7a
Re-order args for TypeCreate() to be clearer.
1997-11-26 04:50:47 +00:00
Bruce Momjian
983ec2cb4b
Make parser functions static where possible.
1997-11-26 03:54:23 +00:00
Bruce Momjian
b704426618
Make parser functions static where possible.
1997-11-26 03:43:18 +00:00
Bruce Momjian
43c7114b48
Cleanup up include files.
1997-11-26 01:26:13 +00:00
Bruce Momjian
598e86f3b3
Cleanup up include files.
1997-11-26 01:14:33 +00:00
Bruce Momjian
4a5b781d71
Break parser functions into smaller files, group together.
1997-11-25 22:07:18 +00:00
Bruce Momjian
a986b7ba4d
Move descriptions to pg_proc, add descriptions.
1997-11-24 13:43:29 +00:00
Bruce Momjian
49656346b8
Move dbcommands.c to commands/. It should not be in the parser directory.
1997-11-24 05:32:56 +00:00
Bruce Momjian
f7f2e18f8e
Remove tqual.h includes not needed.
1997-11-24 05:09:50 +00:00
Bruce Momjian
f4253b0b49
Archive cleanups.
1997-11-21 19:59:39 +00:00
Bruce Momjian
195f78e43c
More archive cleanup.
1997-11-21 19:12:41 +00:00
Bruce Momjian
043cebce2b
More archive cleanup.
1997-11-21 19:02:59 +00:00
Bruce Momjian
629e27284d
Remove unused files.
1997-11-21 18:22:04 +00:00
Bruce Momjian
3fa2bb316c
Remove archive stuff.
1997-11-21 18:12:58 +00:00
Bruce Momjian
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
1997-11-20 23:24:03 +00:00
Bruce Momjian
20858bdd96
Make \d commands not wrap over 80 cols.
1997-11-18 06:46:31 +00:00
Bruce Momjian
79daac6bad
Add descriptions for types and operators.
1997-11-18 05:22:51 +00:00
Bruce Momjian
d0471244e6
Remove 16 char limit on system table/index names. Rename system indexes.
1997-11-17 16:59:36 +00:00
Thomas G. Lockhart
680ef08511
Add DTK_DOY to help decode day of year fields.
1997-11-17 16:39:58 +00:00
Thomas G. Lockhart
45a8b666c0
Include first text in some type descriptions (~29 entries).
1997-11-17 16:39:16 +00:00
Bruce Momjian
12fc33077b
New \dS psql command. initdb cleanup.
1997-11-16 04:36:52 +00:00
Bruce Momjian
1c32d285a6
Remove pg_magic, defaults, server, hosts, and demon tables. unused.
1997-11-15 20:58:05 +00:00
Bruce Momjian
0dec3a8d37
Fix problem of COPY before vacuum.
1997-11-15 17:15:35 +00:00
Bruce Momjian
4e9df155f0
Add new \df psql option and oid8types() function.
1997-11-15 16:32:25 +00:00
Bruce Momjian
4cbc06cff1
Add new psql \da, \do, and \dT options.
1997-11-14 21:38:25 +00:00
Bruce Momjian
ea4223c45f
FIx for indexing regex stuff. Change rowoid to objoid.
1997-11-14 05:57:46 +00:00
Bruce Momjian
5071ae2972
Add pg_description table for info on tables, columns, operators, types, and aggregates. Modify psql with new \dd operator to access description
1997-11-13 03:23:18 +00:00
Bruce Momjian
baeb8790ac
Fix case issues with quotes.
1997-11-10 05:10:50 +00:00
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
Vadim B. Mikheev
ac3d7b3146
+ extern double *box_area(BOX *box);
1997-08-21 01:40:30 +00:00
Vadim B. Mikheev
f2dd89b6fa
+ struct ConstaintDef - for constraints.
1997-08-21 01:39:25 +00:00
Vadim B. Mikheev
25aa0f8d04
New system relations to store DEFAULT/CHECK expressions.
1997-08-21 01:37:55 +00:00
Bruce Momjian
11ac1bf268
More NOT_USEDs
1997-08-20 14:54:35 +00:00
Vadim B. Mikheev
4527172b80
CHECK/DEFAULT syntax
1997-08-20 01:12:38 +00:00
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
Vadim B. Mikheev
b992e200b8
NOT NULL implementation (submitted by Robson Paniago de Miranda).
1997-08-19 04:46:15 +00:00
Bruce Momjian
022903f22e
Reduce open() calls. Replace fopen() calls with calls to fd.c functions.
1997-08-18 02:15:04 +00:00
Marc G. Fournier
eaae21fb4d
Fixes for alphalinux port by abrams@philos.umass.edu
1997-08-17 02:40:00 +00:00
Marc G. Fournier
9d90de5de7
Changes so that it actually checks for <readline/history.h>, instead
...
of assuming it does exist
1997-08-17 00:48:51 +00:00
Bruce Momjian
fd86ae151a
Cleanup global variables, remove stable memory stuff.
1997-08-14 16:11:41 +00:00
Bruce Momjian
edb58721b8
Fix pgproc names over 15 chars in output. Add strNcpy() function. remove some (void) casts that are unnecessary.
1997-08-12 20:16:25 +00:00
Bruce Momjian
42c0cd33a2
I think I finally got psort working for all cases.
1997-08-06 07:02:49 +00:00
Bruce Momjian
cc24b846dd
psort cleanups.
1997-08-06 05:38:46 +00:00
Bruce Momjian
f5f366e188
Allow internal sorts to be stored in memory rather than in files.
1997-08-06 03:42:21 +00:00
Bruce Momjian
6ed1715b1f
Cleanup for NAMEDATALEN use.
1997-08-03 02:38:47 +00:00
Marc G. Fournier
5089f6ce87
Check for and use <netdb.h> for postmaster.c, instead of checking if
...
MAXHOSTNAMELEN is defined. For some reason, my 2.5.1 Solaris box at
work fails on that check...
1997-07-30 14:03:33 +00:00
Bruce Momjian
bcc883fed3
Remove HAVE_USAGE because it is no longer used.
1997-07-30 00:09:42 +00:00
Thomas G. Lockhart
3c2d74d2af
Add new operators and functions for geometric types.
...
Add text concatenation operator and function.
Add text trim function for SQL92 support.
1997-07-29 16:17:52 +00:00
Thomas G. Lockhart
e89d139dbe
Add new routines.
...
Change definition for isreltime().
Change some names of #define constants to avoid conflicts with the yacc parser.
1997-07-29 16:16:14 +00:00
Bruce Momjian
8d25436d70
mkLinux patches from Tatsuo Ishii.
1997-07-29 14:09:11 +00:00
Bruce Momjian
8338f90d4e
Add SCO files.
1997-07-28 01:34:24 +00:00
Bruce Momjian
d5e21e0924
HPUX 10 patches from Vladimir Turin
1997-07-27 18:52:43 +00:00
Bruce Momjian
3ac9d2fff3
Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
1997-07-24 20:19:10 +00:00
Bruce Momjian
31fba1d974
Mips sysv4 support.
1997-07-14 16:52:13 +00:00
Thomas G. Lockhart
e66f5c05eb
Remove endian information which is now in port-specific header files.
...
Note that this version is probably identical to two versions ago.
1997-07-11 14:09:00 +00:00
Thomas G. Lockhart
c6df30edb9
Modify port-specific definitions to support missing endian information.
...
Add extra include file for aix to find endian information.
1997-07-11 14:03:01 +00:00
Thomas G. Lockhart
bf3bcb6a6d
Include definitions for endian info if not in system includes.
1997-07-01 00:31:10 +00:00
Thomas G. Lockhart
495fdfba98
Rearrange DTK_x constants.
...
Define constants to allow day of week decoding.
Add new datetime and timespan routines.
1997-07-01 00:25:30 +00:00
Thomas G. Lockhart
45409f0cdd
Remove code not previously enabled with USE_NEW_DATE and USE_NEW_TIME
...
#defines.
1997-06-23 15:03:45 +00:00
Thomas G. Lockhart
742425447d
Drop internal routines for formatting time output. Use default formatter.
...
Add timezone info to abstime2tm().
1997-06-23 14:58:51 +00:00
Thomas G. Lockhart
9af564ada6
Add parser category for "DST" Daylight Savings Time qualifier on time zones.
1997-06-20 17:15:00 +00:00
Marc G. Fournier
442306fe36
From: "Brian E. Gallew" <geek+@cmu.edu>
...
Define USE_POSIX_TIME for dgux port
1997-06-06 01:39:24 +00:00
Marc G. Fournier
15da18508f
From: Phil Nelson <phil@cs.wwu.edu>
...
Subject: [PATCHES] Added support for NetBSD/pc532.
1997-06-06 01:37:23 +00:00
Vadim B. Mikheev
39c73eff63
Definition for RelationForgetRelation().
1997-06-04 09:01:49 +00:00
Thomas G. Lockhart
4bd4a55b98
Add upgradepath(), isoldpath(), upgradepoly() and revertpoly() to allow
...
upgrading from existing pre-v6.1 path and polygon geometric data types.
1997-06-03 14:11:28 +00:00
Thomas G. Lockhart
3887d41b13
Put parens around macro arguments for safety per D'Arcy's suggestion.
1997-06-03 14:07:24 +00:00
Vadim B. Mikheev
9c0d64c21c
#define GEQO_RELS 6 (not 7)
1997-06-03 03:15:50 +00:00
Vadim B. Mikheev
465047d604
#define GEQO_RELS 7
...
moved from geqo.h to internal.h.
1997-06-02 11:19:33 +00:00
Marc G. Fournier
187e0f2405
From: Phil Nelson <phil@cs.wwu.edu>
...
Subject: [PATCHES] Support for NetBSD/sparc
The following is a patch to allow BSD44_derived to support NetBSD/sparc.
1997-06-01 15:51:10 +00:00
Marc G. Fournier
b3db8ee0b2
From: Darren King <aixssd!darrenk@abs.net>
...
Subject: [PATCHES] aix.h needs POSIX...
1997-06-01 15:50:08 +00:00
Bruce Momjian
8bc7439ccf
Enable GEQO for more than six tables, from Martin.
1997-06-01 02:56:00 +00:00
Bruce Momjian
c3a960ad8a
Fix for SELECT * INTO TABLE for char(), varchar() fields.
1997-05-31 16:52:19 +00:00
Vadim B. Mikheev
5cf55737a4
Added: new BTP_CHAIN flag (if hikey == firstkey then it's not
...
last page in chain of duplicates).
1997-05-30 18:40:02 +00:00
Thomas G. Lockhart
07f0647808
Ensure double alignment for time and arrays of circles.
1997-05-26 16:55:23 +00:00
Thomas G. Lockhart
0828204538
Enable new date and time definitions to allow Solaris and Irix -O2 compilation.
...
Move date and time field type labels to less than 32 to allow use as masks.
1997-05-23 05:10:03 +00:00
Vadim B. Mikheev
12d9a12eda
gist.h:
...
/*
** You can have as many strategies as you please in GiSTs, as
** long as your consistent method can handle them
*/
#define GISTNStrategies 100
^^^
- too big number:
strat.h->StrategyEvaluationData->StrategyExpression expression[12]
^^
- so 12 is real max # of strategies, or StrategyEvaluationIsValid
crashes backend (called if CASSER defined).
1997-05-22 16:09:57 +00:00
Marc G. Fournier
5e7c0a0b9a
From: Darren King <aixssd!darrenk@abs.net>
...
Subject: [PATCHES] DROP AGGREGATE patch/fix.
Here's a patch that fixes the DROP AGGREGATE command to delete
the desired aggregate for a specific type.
1997-05-22 00:17:24 +00:00
Vadim B. Mikheev
b0dfe8e38e
Define FREE(x) as pfree.
1997-05-20 11:37:33 +00:00
Edmund Mergl
33a629cfef
added const declaration in form() E.Mergl
1997-05-17 16:25:57 +00:00
Thomas G. Lockhart
9fd868d16a
Rename new float and int conversion routines to avoid conflicts with
...
system calls on AIX (and probably other machines too).
1997-05-14 04:35:10 +00:00
Marc G. Fournier
45165538c5
From: "Brian E. Gallew" <geek+@cmu.edu>
...
Subject: [PORTS] minor fix for DGUX port
src/include/port/dgux.h needs the following three lines appended:
#ifndef BYTE_ORDER
#define BYTE_ORDER BIG_ENDIAN
#endif
I believe this to be correct for DG/UX on M88k processors. I don't have one of
the new Intel-based boxes to check on.
1997-05-13 22:13:33 +00:00
Thomas G. Lockhart
57f55032ff
Add type conversion functions between floats and integers.
...
Include some additional path functions which were coded but omitted here.
Add translation and rotation/scaling operators for some geometric types.
Fix bugs in some geometry comparison operator declarations.
1997-05-11 15:19:33 +00:00
Thomas G. Lockhart
407cd4ee24
Add a few type conversion functions.
...
Pass an additional argument for date/time formatting to better handle timezones.
1997-05-11 15:13:49 +00:00
Marc G. Fournier
9f2d714620
From: "Paul M. Aoki" <aoki@CS.Berkeley.EDU>
...
Subject: [PATCHES] port patch: ultrix4
ultrix4 doesn't compile without this. this also fixes a problem
with dynamic loading (ultrix relocatable objects must be loaded
with -G 0).
1997-05-07 03:12:46 +00:00
Thomas G. Lockhart
36d18351aa
Change dummy array dimensions from [0] to [1] to keep non-gcc compilers happy.
...
No real change in the support code is required since the actual size
of the structures is calculated using offsetof() rather than sizeof().
1997-05-06 07:24:42 +00:00
Thomas G. Lockhart
6e27af13eb
Rename LOread() and LOwrite() to loread() and lowrite() to allow use by
...
case-insensitive SQL parser.
1997-05-06 07:20:53 +00:00
Thomas G. Lockhart
94123219bf
Rename LOread() and LOwrite() to be lower case to allow use
...
in case-insensitive SQL. Define LOread() and LOwrite() as macros
to avoid having to update calls everywhere.
1997-05-06 07:14:34 +00:00
Vadim B. Mikheev
a1fbd470a9
Fix GroupBy: enable functions over aggregates and GroupBy-ed fields
...
in target list.
1997-04-29 04:32:50 +00:00
Thomas G. Lockhart
0a95a17da2
Change mixed-case routines to lower-case for case-insensitive SQL.
...
Add mixed-case #define synonyms to avoid changing more source code.
Add comparison operators for boolean.
Add aggregate min() and max() for datetime and timespan.
1997-04-27 19:24:16 +00:00
Thomas G. Lockhart
1d1c9ff211
Change mixed-case routines to lower-case in pg_proc.h
...
Add comparison operators for boolean.
Add aggregate min() and max() for datetime and timespan.
Fix duplicate OID in pg_proc.h
1997-04-27 19:22:45 +00:00
Thomas G. Lockhart
d831e9ce19
Change mixed-case routines to lower-case if referenced in pg_proc.h
1997-04-27 19:21:06 +00:00
Marc G. Fournier
c2ae467300
clean up the bin/*/Makefiles...up version.h to v6.1 instead of v6.0
...
Remove bin/Makefile.global since it wasn't actually *doing* anything
that Makefile.global hadn't already done
1997-04-26 05:07:12 +00:00
Marc G. Fournier
094ec2d3f3
More timezone patches by Thomas:
...
Here are patches which should help fix timezone problems in the
datetime and abstime code. Also, I repatched varlena.c to add in
some comments and a little error checking on top of Vadim's earlier
repairs. There are slight mods to the circle data type to have the
distance operator between circles measure the distance between
closest points rather than between centers.
1997-04-25 18:40:50 +00:00
Marc G. Fournier
87fffc4342
Various bug fixes based on a bug report submitted by
...
Doug Neuhauser <doug@seismo.berkeley.edu> on April 15th
1997-04-24 20:02:02 +00:00
Vadim B. Mikheev
2bbc2e2c0d
Added comments about FASTBUILD.
...
Added #define BTREE_VERSION_1.
1997-04-24 16:21:46 +00:00
Vadim B. Mikheev
0a08f2b22d
#define _CPU_PAGE_WEIGHT_: 0.065 --> 0.033
...
#define _CPU_INDEX_PAGE_WEIGHT_: 0.033 --> 0.017
1997-04-24 15:38:34 +00:00
Marc G. Fournier
08a5901ba1
Various patches not commited, plus a linux/sparc patch from
...
Satoshi Ishikawa <power@sekine.densi.gifu-u.ac.jp>
1997-04-24 02:35:39 +00:00