Bruce Momjian
5fe090c559
Completion of varchar rollback.
1998-01-08 04:19:16 +00:00
Bruce Momjian
35be73027e
Cleanup of varchar.
1998-01-08 03:15:06 +00:00
Bruce Momjian
c098f309e3
Rollback varchar size change.
1998-01-08 03:05:01 +00:00
Bruce Momjian
1c9fcfb683
Fix for varchar I missed.
1998-01-07 22:08:23 +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
Marc G. Fournier
7a2a7d436d
Wrap the function in and #ifdef, not the header files
...
Should fix an AIX compiler problem
1998-01-07 17:02:52 +00:00
Bruce Momjian
e9dc636e0c
Cleanup of outnodes.
1998-01-07 15:32:47 +00:00
Bruce Momjian
c01a56daf5
Fix for views and outnodes.
1998-01-07 08:08:08 +00:00
Bruce Momjian
56466049d6
Cleanup of outnode stuff.
1998-01-07 05:54:11 +00:00
Bruce Momjian
c9d9fe7690
Cleanup of outnode stuff.
1998-01-07 05:50:41 +00:00
Bruce Momjian
a552a894eb
Cleanup of outnode stuff.
1998-01-07 05:42:47 +00:00
Bruce Momjian
e22b09c227
Fix sorting of multiple fields broken with UNION.
1998-01-06 23:58:05 +00:00
Bruce Momjian
4557c846de
Cleanup of sort nodes and use of strtoul .
1998-01-06 23:19:49 +00:00
Bruce Momjian
f439eb35b8
ABORT to ERROR in catalog/.
1998-01-06 19:42:33 +00:00
Bruce Momjian
9d00fbbeb0
Change some labels in bootparse to make ctags happy. Clean up outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff.
1998-01-06 18:53:02 +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
deea69b90e
Change some ABORTS to ERROR. Add line number when COPY Failure.
1998-01-05 16:40:20 +00:00
Bruce Momjian
69cf5abe10
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 04:10:07 +00:00
Bruce Momjian
345641e498
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:45:54 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Marc G. Fournier
0aa928764a
Various fixes NETBSD/sparc related
...
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO >
1998-01-04 19:13:04 +00:00
Bruce Momjian
a65e4484da
Fix for aggs on views and complex ones. I missed one file.
1998-01-04 04:53:50 +00:00
Bruce Momjian
4b05912f0b
Fix for count(*), aggs with views and multiple tables and sum(3).
1998-01-04 04:31:43 +00:00
Marc G. Fournier
c629d3b9d6
need to include postgres.h before HAVE_DLD_H
...
need to include string.h for strdup()
From: Bryan Henderson <bryanh@giraffe-data.com >
1998-01-02 03:40:04 +00:00
Thomas G. Lockhart
8e3ccad128
Test for __ELF__ rather than LINUX_ELF in headers.
...
Comment-out dynamic link function declarations since they are all
provided by the system.
Should we bother continuing to support non-elf Linux systems??
1998-01-01 06:02:04 +00:00
Thomas G. Lockhart
37f17d39c1
Define text_substr().
...
Change declarations from "struct varlena *" to "text *".
Remove register variables since compiler should do better on its own.
1998-01-01 05:50:50 +00:00
Thomas G. Lockhart
a343b2e713
Coerce a function argument to avoid compiler warning.
1998-01-01 05:48:14 +00:00
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
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
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
Vadim B. Mikheev
d8949adc20
Cleaning GCC warnings.
1997-12-26 06:02:26 +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
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
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