Commit Graph

2628 Commits

Author SHA1 Message Date
Thomas G. Lockhart
fcabd0753c Change precedence for boolean operators to match expected behavior.
Change NOTICE/NOTICE/NOTICE/WARN elog messages to a single message
 with a few newline/tab breaks embedded in the string. Much cleaner I hope.
1998-01-01 05:44:54 +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
1ac6d462b2 Bracket #define sigsetjmp() to avoid redefinition. Linux starts out with
sigsetjmp as a macro, so gives compiler warning without bracketing.
1998-01-01 05:40:28 +00:00
Thomas G. Lockhart
b180144545 Include SPI module when cleaning. 1998-01-01 05:37:29 +00:00
Marc G. Fournier
0d48d4f3be Missed a subst() for the RANDOM substritution... 1997-12-31 03:51:17 +00:00
Marc G. Fournier
d82f2f1f93 Change @RANDOM@ to @MISSING_RANDOM@ because of bash 1997-12-30 04:08:55 +00:00
Marc G. Fournier
42a3c46b4e Oops, missed adding a file
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
1997-12-30 04:03:01 +00:00
Marc G. Fournier
8a0967a3b1 bring in alpha/linux s_lock changes
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
1997-12-30 04:01:28 +00:00
Marc G. Fournier
3c1332e573 Slightly delayed patches from Todd...damn holidays :)
o  A new patch that contains the following changes:
        -- The pg_pwd file is now cached in the postmaster's memory.
        -- pg_pwd is reloaded when the postmaster detects a flag file creat()'ed
           by a backend.
        -- qsort() is used to sort loaded password entries, and bsearch() is
           is used to find entries in the pg_pwd cache.
        -- backends now copy the pg_user relation to pg_pwd.pid, and then
           rename the temp file to be pg_pwd.
        -- The delimiter for pg_pwd has been changed to a tab character.
1997-12-30 02:26:56 +00:00
Bruce Momjian
a544b605e2 Change some mallocs to palloc. 1997-12-29 05:13:57 +00:00
Bruce Momjian
a1dd409053 Fix for ORDER BY in UNION. 1997-12-29 04:31:50 +00:00
Bruce Momjian
499b13c994 UNION cleanup again. 1997-12-29 02:09:54 +00:00
Bruce Momjian
a01b085c78 Cleanup of UNION ALL fix. Manual page updates. 1997-12-29 01:13:37 +00:00
Bruce Momjian
4ce24c8aa9 UNION work for UNION ALL and other union stuff. 1997-12-27 06:41:41 +00:00
Marc G. Fournier
2730c4a45c Knew I missed somewhere...remove PORTNAME references from GNUmakefile.in, since
PORTNAME should not be used anywhere anymore...I hope :)
1997-12-26 22:35:53 +00:00
Vadim B. Mikheev
031f471f44 Prototypes for new funcs. 1997-12-26 08:45:27 +00:00
Vadim B. Mikheev
d8949adc20 Cleaning GCC warnings. 1997-12-26 06:02:26 +00:00
Vadim B. Mikheev
c06ecfb456 extern char* crypt_getpwdfilename(void);
^^^^ gcc likes this
1997-12-26 05:51:51 +00:00
Bruce Momjian
6231e161c9 Implementation of UNIONs. 1997-12-24 06:06:58 +00:00
Bruce Momjian
18adbd9aed Reverse out Thomas's group clause change. 1997-12-23 21:49:03 +00:00
Bruce Momjian
bbd5c21786 Make no-tty not use quiet in psql, fix group by copy failure, fix ccsym to delete tmp files. 1997-12-23 21:38:53 +00:00
Thomas G. Lockhart
6b2e7e12be Add newline/tab to middle of long failure message to pretty it up a bit. 1997-12-23 20:00:06 +00:00
Thomas G. Lockhart
e8783d4af0 Change field name in RetrieveStmt from selectClause to unionClause.
Add unionall boolean field to SubSelect structure.
1997-12-23 19:58:12 +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
2119b523c5 Fix numeric comparision (... != NULL) to be (... > 0). gcc is happier now.
Add non-working code which is commented-out to copy GroupClause structures.
1997-12-23 19:53:30 +00:00
Thomas G. Lockhart
12d5c30c8c Add routines to print AExpr, Ident, and AConst parsing structures. 1997-12-23 19:50:54 +00:00
Thomas G. Lockhart
2c833a728f Implement CREATE TABLE ... AS SELECT borrowing code from SubSelect
and from SELECT ... INTO ... support code.
Allow NOT, IS NULL, IS NOT NULL in constraints.
Define unionall boolean flag in SubSelect structure.
Implement row descriptors: (a, b, c) = (x, y, z).
Change IS TRUE, IS FALSE, etc. to expressions using "=" rather than
 function calls to istrue() or isfalse() to allow optimization.
Force type for TRUE and FALSE to bool.
1997-12-23 19:47:32 +00:00
Thomas G. Lockhart
8ed721ffef Change variable name reference from selectClause to more appropriate unionClause.
Add a few lines of test code playing with the unique flag for unions.
 Does not do much helpful yet.
1997-12-23 19:39:42 +00:00
Thomas G. Lockhart
98f5975cb0 Fix up some elog error messages. 1997-12-23 19:36:20 +00:00
Thomas G. Lockhart
7c682b46c9 Expand a few date/time routine names to > 16 characters now that this
is legal. Fix a little whitespace in other declarations.
1997-12-23 19:29:15 +00:00
Thomas G. Lockhart
ca23837ade Fix format to produce actual German style. Affects new "GERMAN" feature only. 1997-12-23 19:26:31 +00:00
Thomas G. Lockhart
ed14f88512 Change logic slightly to avoid one unnecessary calculation. No big deal. 1997-12-23 19:24:43 +00:00
Thomas G. Lockhart
c06331a47d Change a few routine names back to full length now that pg_proc allows
names over 16 characters. datet_datetime() -> datetime_datetime(), etc.
1997-12-23 19:23:09 +00:00
Bruce Momjian
e4bd9127cb Remove regression in function. 1997-12-23 03:27:23 +00:00
Bruce Momjian
3827555869 Fix notty output to show status result. -q option still turns it off. 1997-12-22 20:03:53 +00:00
Bruce Momjian
ad43a7219c Fix for test 0 error. 1997-12-22 05:56:43 +00:00
Bruce Momjian
d404f1006b Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2). 1997-12-22 05:42:25 +00:00
Bruce Momjian
78a055a659 Remove some recursion in optimizer and clean up some code there. 1997-12-21 05:18:48 +00:00
Marc G. Fournier
0808e658a7 Potential fix for Bruce's "test" problem 1997-12-20 18:36:26 +00:00
Bruce Momjian
7fd4782504 Fix aggregates on inherited tables. 1997-12-20 07:59:44 +00:00
Marc G. Fournier
1783963cab Move more to dynloader subdir 1997-12-20 04:48:11 +00:00
Marc G. Fournier
44be631dd8 Make sure distclean works as well as clean 1997-12-20 04:43:20 +00:00
Marc G. Fournier
3cc95146c4 Missed a HAVE_ 1997-12-20 04:26:27 +00:00
Marc G. Fournier
9a60a20f99 fix so that dynloader.h is included instead of port-protos.h 1997-12-20 04:13:31 +00:00
Marc G. Fournier
a38bd20b83 Fix use of variable in Makefile.in 1997-12-20 04:10:35 +00:00
Marc G. Fournier
0356acebd5 Make sure configure reflects changes 1997-12-20 03:41:06 +00:00
Marc G. Fournier
1d5cd311d1 Oops, forgot to add what I took away 1997-12-20 03:38:20 +00:00
Marc G. Fournier
e3a18f6f50 More cleanups... 1997-12-20 03:36:35 +00:00
Marc G. Fournier
722fa83f05 More ports switched over 1997-12-20 03:23:46 +00:00
Marc G. Fournier
b5466f8669 Move over the BSDi port files 1997-12-20 03:13:59 +00:00