Bruce Momjian
7229513943
Fix prototypes so they don't look like function definitions.
1998-01-24 22:50:57 +00:00
Bruce Momjian
412a5e6539
Parser cleanup.
...
Add lock to i386 asm.
1998-01-20 05:05:08 +00:00
Bruce Momjian
c65ea0e040
New pg_attribute.atttypmod for type-specific information like
...
varchar length.
Cleans up code so attlen is always length.
Removed varchar() hack added earlier.
Will fix bug in selecting varchar() fields, and varchar() can be
variable length.
1998-01-16 23:21:07 +00:00
PostgreSQL Daemon
baef78d96b
Thank god for searchable mail archives.
...
Patch by: wieck@sapserv.debis.de (Jan Wieck)
One of the design rules of PostgreSQL is extensibility. And
to follow this rule means (at least for me) that there should
not only be a builtin PL. Instead I would prefer a defined
interface for PL implemetations.
1998-01-15 19:46:37 +00:00
Bruce Momjian
4bad5be7bc
Fix SCO and change index name.
1998-01-11 21:03:10 +00:00
Bruce Momjian
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
1998-01-07 21:07:04 +00:00
Bruce Momjian
e6c6146eb8
Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA.
1998-01-07 18:47:07 +00:00
Bruce Momjian
9db64857e0
Move variable.c to commands/ and aclchk.c to catalog/.
1998-01-05 18:43:18 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Thomas G. Lockhart
cc19151e3b
Add substring function for text based on oracle_compat package but
...
closer to standard behavior.
Substitute "text *" for "struct varlena *" in declarations.
1998-01-01 05:42:40 +00:00
Thomas G. Lockhart
0c714ea9ae
Lengthen some time conversion routine names now that longer names
...
(> 16 characters) are allowed in pg_proc (thanks Bruce!).
1997-12-23 19:55:51 +00:00
Thomas G. Lockhart
5af05c0a59
Move declarations for timespan2tm() and tm2timespan() from dt.c to here.
1997-12-17 23:19:28 +00:00
Thomas G. Lockhart
a58825a467
Add declarations for text, bpchar, and varchar length functions.
...
Remove declarations in builtins.h duplicated in dt.h.
Change a few return type declarations to use "type *"
rather than "struct ...".
1997-12-16 15:55:17 +00:00
Bruce Momjian
598e86f3b3
Cleanup up include files.
1997-11-26 01:14:33 +00:00
Bruce Momjian
195f78e43c
More archive cleanup.
1997-11-21 19:12:41 +00:00
Bruce Momjian
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
1997-11-20 23:24:03 +00:00
Thomas G. Lockhart
680ef08511
Add DTK_DOY to help decode day of year fields.
1997-11-17 16:39:58 +00:00
Bruce Momjian
4e9df155f0
Add new \df psql option and oid8types() function.
1997-11-15 16:32:25 +00:00
Vadim B. Mikheev
32cd09ac6d
Good Bye, Time Travel!
1997-11-02 15:27:14 +00:00
Thomas G. Lockhart
cc1b420cfd
Add routines istrue() and isfalse() to directly evaluate boolean type.
1997-10-30 16:45:12 +00:00
Vadim B. Mikheev
7bff4c5078
Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan).
1997-10-28 15:11:45 +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
Vadim B. Mikheev
78351f422b
Fix for backward cursors with ORDER BY.
1997-10-15 06:36:36 +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
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
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
Vadim B. Mikheev
a6e0803a7f
No more SortTuplesInTree...
1997-09-18 14:42:35 +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
f3e9cf9c6b
Fix pfree problem.
1997-09-15 14:29:01 +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
Thomas G. Lockhart
b647a27cf5
Add comparision routines to support indices on datetime and timespan.
1997-09-04 18:44:29 +00:00
Vadim B. Mikheev
444369e7b2
struct Trigger changed
1997-09-04 13:26:45 +00:00
Vadim B. Mikheev
6084c915d0
Triggers added to Relation
1997-09-01 08:13:22 +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
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
ac3d7b3146
+ extern double *box_area(BOX *box);
1997-08-21 01:40:30 +00:00
Bruce Momjian
11ac1bf268
More NOT_USEDs
1997-08-20 14:54:35 +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
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
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
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