Thomas G. Lockhart
b12ba5f695
Specify hash table support functions for float8 and int4 rather than using
...
btree support functions. Don't know why this was that way, but would
assume that these should be consistant with all other types with
hash support. Regression tests OK.
Change a few comments and field alignment to make things more readable.
1997-11-30 23:03:28 +00:00
Thomas G. Lockhart
2c98143681
Add datetime and timespan hash index declarations. Use float8 for both;
...
certainly OK for datetime since it is a float8 and should be OK for
timespan since the first field within timespan is a float8.
Use float8 hash function for time type (rather than char8).
1997-11-30 22:58:07 +00:00
Thomas G. Lockhart
d16b4767fe
Remove duplicate block of declarations. Must have been introduced recently
...
since I've run ./duplicate_oids (and found no problems) in the last
couple of months.
Add and modify some DESCR() entries to describe functions.
1997-11-30 22:52:24 +00:00
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