]>
granicus.if.org Git - postgresql/log
Bruce Momjian [Mon, 5 Jan 1998 18:53:12 +0000 (18:53 +0000)]
Move variable.c to commands/ and aclchk.c to catalog/.
Bruce Momjian [Mon, 5 Jan 1998 18:43:18 +0000 (18:43 +0000)]
Move variable.c to commands/ and aclchk.c to catalog/.
Bruce Momjian [Mon, 5 Jan 1998 16:40:20 +0000 (16:40 +0000)]
Change some ABORTS to ERROR. Add line number when COPY Failure.
Bruce Momjian [Mon, 5 Jan 1998 13:56:05 +0000 (13:56 +0000)]
Remove un-needed quotes from psql \d DEFAULT display.
Bruce Momjian [Mon, 5 Jan 1998 04:10:07 +0000 (04:10 +0000)]
Change elog(WARN) to elog(ERROR) and elog(ABORT).
Bruce Momjian [Mon, 5 Jan 1998 03:45:54 +0000 (03:45 +0000)]
Change elog(WARN) to elog(ERROR) and elog(ABORT).
Bruce Momjian [Mon, 5 Jan 1998 03:35:55 +0000 (03:35 +0000)]
Change elog(WARN) to elog(ERROR) and elog(ABORT).
Bruce Momjian [Mon, 5 Jan 1998 02:21:22 +0000 (02:21 +0000)]
Add NOT NULL and DEFAULT to \d table.
Marc G. Fournier [Sun, 4 Jan 1998 19:13:04 +0000 (19:13 +0000)]
Various fixes NETBSD/sparc related
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
Bruce Momjian [Sun, 4 Jan 1998 04:53:50 +0000 (04:53 +0000)]
Fix for aggs on views and complex ones. I missed one file.
Bruce Momjian [Sun, 4 Jan 1998 04:31:43 +0000 (04:31 +0000)]
Fix for count(*), aggs with views and multiple tables and sum(3).
Marc G. Fournier [Fri, 2 Jan 1998 03:40:04 +0000 (03:40 +0000)]
need to include postgres.h before HAVE_DLD_H
need to include string.h for strdup()
From: Bryan Henderson <bryanh@giraffe-data.com>
Thomas G. Lockhart [Thu, 1 Jan 1998 06:02:04 +0000 (06:02 +0000)]
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??
Thomas G. Lockhart [Thu, 1 Jan 1998 05:59:24 +0000 (05:59 +0000)]
Remove declaration for -DLINUX_ELF since testing for __ELF__ in code.
Thomas G. Lockhart [Thu, 1 Jan 1998 05:50:50 +0000 (05:50 +0000)]
Define text_substr().
Change declarations from "struct varlena *" to "text *".
Remove register variables since compiler should do better on its own.
Thomas G. Lockhart [Thu, 1 Jan 1998 05:48:14 +0000 (05:48 +0000)]
Coerce a function argument to avoid compiler warning.
Thomas G. Lockhart [Thu, 1 Jan 1998 05:47:11 +0000 (05:47 +0000)]
Include text_substr() function and use instead of oracle_compat equivalent.
Thomas G. Lockhart [Thu, 1 Jan 1998 05:44:54 +0000 (05:44 +0000)]
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.
Thomas G. Lockhart [Thu, 1 Jan 1998 05:42:40 +0000 (05:42 +0000)]
Add substring function for text based on oracle_compat package but
closer to standard behavior.
Substitute "text *" for "struct varlena *" in declarations.
Thomas G. Lockhart [Thu, 1 Jan 1998 05:40:28 +0000 (05:40 +0000)]
Bracket #define sigsetjmp() to avoid redefinition. Linux starts out with
sigsetjmp as a macro, so gives compiler warning without bracketing.
Thomas G. Lockhart [Thu, 1 Jan 1998 05:37:29 +0000 (05:37 +0000)]
Include SPI module when cleaning.
Marc G. Fournier [Wed, 31 Dec 1997 03:51:17 +0000 (03:51 +0000)]
Missed a subst() for the RANDOM substritution...
Marc G. Fournier [Tue, 30 Dec 1997 04:08:55 +0000 (04:08 +0000)]
Change @RANDOM@ to @MISSING_RANDOM@ because of bash
Marc G. Fournier [Tue, 30 Dec 1997 04:03:01 +0000 (04:03 +0000)]
Oops, missed adding a file
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Marc G. Fournier [Tue, 30 Dec 1997 04:01:28 +0000 (04:01 +0000)]
bring in alpha/linux s_lock changes
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Marc G. Fournier [Tue, 30 Dec 1997 02:26:56 +0000 (02:26 +0000)]
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.
Bruce Momjian [Mon, 29 Dec 1997 05:13:57 +0000 (05:13 +0000)]
Change some mallocs to palloc.
Bruce Momjian [Mon, 29 Dec 1997 04:31:50 +0000 (04:31 +0000)]
Fix for ORDER BY in UNION.
Bruce Momjian [Mon, 29 Dec 1997 02:09:54 +0000 (02:09 +0000)]
UNION cleanup again.
Bruce Momjian [Mon, 29 Dec 1997 01:13:37 +0000 (01:13 +0000)]
Cleanup of UNION ALL fix. Manual page updates.
Bruce Momjian [Sat, 27 Dec 1997 06:41:41 +0000 (06:41 +0000)]
UNION work for UNION ALL and other union stuff.
Marc G. Fournier [Fri, 26 Dec 1997 22:35:53 +0000 (22:35 +0000)]
Knew I missed somewhere...remove PORTNAME references from GNUmakefile.in, since
PORTNAME should not be used anywhere anymore...I hope :)
Vadim B. Mikheev [Fri, 26 Dec 1997 08:45:27 +0000 (08:45 +0000)]
Prototypes for new funcs.
Vadim B. Mikheev [Fri, 26 Dec 1997 06:02:26 +0000 (06:02 +0000)]
Cleaning GCC warnings.
Vadim B. Mikheev [Fri, 26 Dec 1997 05:51:51 +0000 (05:51 +0000)]
extern char* crypt_getpwdfilename(void);
^^^^ gcc likes this
Bruce Momjian [Wed, 24 Dec 1997 06:06:58 +0000 (06:06 +0000)]
Implementation of UNIONs.
Bruce Momjian [Tue, 23 Dec 1997 21:49:03 +0000 (21:49 +0000)]
Reverse out Thomas's group clause change.
Bruce Momjian [Tue, 23 Dec 1997 21:38:53 +0000 (21:38 +0000)]
Make no-tty not use quiet in psql, fix group by copy failure, fix ccsym to delete tmp files.
Thomas G. Lockhart [Tue, 23 Dec 1997 20:00:06 +0000 (20:00 +0000)]
Add newline/tab to middle of long failure message to pretty it up a bit.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:58:12 +0000 (19:58 +0000)]
Change field name in RetrieveStmt from selectClause to unionClause.
Add unionall boolean field to SubSelect structure.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:55:51 +0000 (19:55 +0000)]
Lengthen some time conversion routine names now that longer names
(> 16 characters) are allowed in pg_proc (thanks Bruce!).
Thomas G. Lockhart [Tue, 23 Dec 1997 19:53:30 +0000 (19:53 +0000)]
Fix numeric comparision (... != NULL) to be (... > 0). gcc is happier now.
Add non-working code which is commented-out to copy GroupClause structures.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:50:54 +0000 (19:50 +0000)]
Add routines to print AExpr, Ident, and AConst parsing structures.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:47:32 +0000 (19:47 +0000)]
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.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:39:42 +0000 (19:39 +0000)]
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.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:36:20 +0000 (19:36 +0000)]
Fix up some elog error messages.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:29:15 +0000 (19:29 +0000)]
Expand a few date/time routine names to > 16 characters now that this
is legal. Fix a little whitespace in other declarations.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:26:31 +0000 (19:26 +0000)]
Fix format to produce actual German style. Affects new "GERMAN" feature only.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:24:43 +0000 (19:24 +0000)]
Change logic slightly to avoid one unnecessary calculation. No big deal.
Thomas G. Lockhart [Tue, 23 Dec 1997 19:23:09 +0000 (19:23 +0000)]
Change a few routine names back to full length now that pg_proc allows
names over 16 characters. datet_datetime() -> datetime_datetime(), etc.
Bruce Momjian [Tue, 23 Dec 1997 03:27:23 +0000 (03:27 +0000)]
Remove regression in function.
Bruce Momjian [Mon, 22 Dec 1997 20:03:53 +0000 (20:03 +0000)]
Fix notty output to show status result. -q option still turns it off.
Bruce Momjian [Mon, 22 Dec 1997 05:56:43 +0000 (05:56 +0000)]
Fix for test 0 error.
Bruce Momjian [Mon, 22 Dec 1997 05:42:25 +0000 (05:42 +0000)]
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2).
Bruce Momjian [Sun, 21 Dec 1997 05:18:48 +0000 (05:18 +0000)]
Remove some recursion in optimizer and clean up some code there.
Marc G. Fournier [Sat, 20 Dec 1997 18:36:26 +0000 (18:36 +0000)]
Potential fix for Bruce's "test" problem
Bruce Momjian [Sat, 20 Dec 1997 07:59:44 +0000 (07:59 +0000)]
Fix aggregates on inherited tables.
Marc G. Fournier [Sat, 20 Dec 1997 04:48:11 +0000 (04:48 +0000)]
Move more to dynloader subdir
Marc G. Fournier [Sat, 20 Dec 1997 04:43:20 +0000 (04:43 +0000)]
Make sure distclean works as well as clean
Marc G. Fournier [Sat, 20 Dec 1997 04:26:27 +0000 (04:26 +0000)]
Missed a HAVE_
Marc G. Fournier [Sat, 20 Dec 1997 04:13:31 +0000 (04:13 +0000)]
fix so that dynloader.h is included instead of port-protos.h
Marc G. Fournier [Sat, 20 Dec 1997 04:10:35 +0000 (04:10 +0000)]
Fix use of variable in Makefile.in
Marc G. Fournier [Sat, 20 Dec 1997 03:41:06 +0000 (03:41 +0000)]
Make sure configure reflects changes
Marc G. Fournier [Sat, 20 Dec 1997 03:38:20 +0000 (03:38 +0000)]
Oops, forgot to add what I took away
Marc G. Fournier [Sat, 20 Dec 1997 03:36:35 +0000 (03:36 +0000)]
More cleanups...
Marc G. Fournier [Sat, 20 Dec 1997 03:23:46 +0000 (03:23 +0000)]
More ports switched over
Marc G. Fournier [Sat, 20 Dec 1997 03:13:59 +0000 (03:13 +0000)]
Move over the BSDi port files
Marc G. Fournier [Sat, 20 Dec 1997 02:36:26 +0000 (02:36 +0000)]
This should get the linux port to work...
Marc G. Fournier [Sat, 20 Dec 1997 02:33:56 +0000 (02:33 +0000)]
Get it so that everything else *should* work with my changes...
Marc G. Fournier [Sat, 20 Dec 1997 00:29:35 +0000 (00:29 +0000)]
Major cleanout of PORTNAME variables from Makefiles...bound to screw up
some of the ports...
Marc G. Fournier [Sat, 20 Dec 1997 00:11:13 +0000 (00:11 +0000)]
First clean compile without a "PORTNAME" variable being set...
Marc G. Fournier [Fri, 19 Dec 1997 23:17:42 +0000 (23:17 +0000)]
removed the port-protos.h from bsd a little too quick...remedied now
Marc G. Fournier [Fri, 19 Dec 1997 23:10:16 +0000 (23:10 +0000)]
If this doesn't break something, nothing will *muhahaha*
Just got rid of PORTNAME altogether for FreeBSD and AIX...more to follow
Marc G. Fournier [Fri, 19 Dec 1997 22:58:27 +0000 (22:58 +0000)]
These files will get link'd to 'dynloader.[ch]', from configure, which
will then get link'd into SUBSYS.o
Marc G. Fournier [Fri, 19 Dec 1997 22:56:03 +0000 (22:56 +0000)]
More removal of port dependent stuff
Marc G. Fournier [Fri, 19 Dec 1997 22:47:00 +0000 (22:47 +0000)]
More cleanups. Move alot of the prototype definitions straight into
config.h, right beside their appropriate HAVE_ #ifdefs...one central
location that is included everywhere...
Marc G. Fournier [Fri, 19 Dec 1997 21:29:28 +0000 (21:29 +0000)]
Get rid of PORTNAME from Makefile.global.in...
Marc G. Fournier [Fri, 19 Dec 1997 21:23:19 +0000 (21:23 +0000)]
Add regression output from FreeBSD
Bruce Momjian [Fri, 19 Dec 1997 16:54:15 +0000 (16:54 +0000)]
Replace foo/bar to l1/l2.
Marc G. Fournier [Fri, 19 Dec 1997 15:50:18 +0000 (15:50 +0000)]
Here is the difference between expected->results of the regression
tests under sparc_solaris
Marc G. Fournier [Fri, 19 Dec 1997 13:35:17 +0000 (13:35 +0000)]
More cleanups...only need one rusagestub.h
Marc G. Fournier [Fri, 19 Dec 1997 13:28:06 +0000 (13:28 +0000)]
remove port from OBJS line...
Marc G. Fournier [Fri, 19 Dec 1997 03:42:14 +0000 (03:42 +0000)]
Nice clean compile...still need to run regression tests, but its a major
start
Marc G. Fournier [Fri, 19 Dec 1997 03:08:03 +0000 (03:08 +0000)]
Update configure so that it auto-detects and configures for missing
functions...
Marc G. Fournier [Fri, 19 Dec 1997 03:06:22 +0000 (03:06 +0000)]
Okay, that's it for tonight...broke a few ports, most likely, but that
is expected...a few ports don't have "ports" anymore, with most things
auto-configured by configure like it should be :)
Marc G. Fournier [Fri, 19 Dec 1997 02:56:35 +0000 (02:56 +0000)]
More cleanups
Marc G. Fournier [Fri, 19 Dec 1997 02:46:25 +0000 (02:46 +0000)]
More cleanups...several ports are major redundancies of other ports
Marc G. Fournier [Fri, 19 Dec 1997 02:27:20 +0000 (02:27 +0000)]
port.c no longer required...individual functions that were in there are
auto-generated via configure
individual functions in individual files
Marc G. Fournier [Fri, 19 Dec 1997 02:09:10 +0000 (02:09 +0000)]
More cleanups. I can now compile without PORTNAME being defined n
Makefile.global.
End result, if all goes well, should allow for much easier porting, since
there will no longer be a concept of a "port". Most, if not everything,
*should* be determined by configure, or by the compiler itself. Still
work to be done though :)
Bruce Momjian [Thu, 18 Dec 1997 19:46:37 +0000 (19:46 +0000)]
copy query cleanup.
Bruce Momjian [Thu, 18 Dec 1997 19:41:44 +0000 (19:41 +0000)]
Remove init_query_planner(), merged into planner().
Bruce Momjian [Thu, 18 Dec 1997 19:13:49 +0000 (19:13 +0000)]
Fix copy for no aggregates.
Bruce Momjian [Thu, 18 Dec 1997 12:54:45 +0000 (12:54 +0000)]
Remove Existential, and ifdef out generate_fjoin. Neither did anything.
Bruce Momjian [Thu, 18 Dec 1997 12:30:44 +0000 (12:30 +0000)]
Cost cleanup.
Bruce Momjian [Thu, 18 Dec 1997 12:21:02 +0000 (12:21 +0000)]
Cost cleanup.
Bruce Momjian [Thu, 18 Dec 1997 05:58:40 +0000 (05:58 +0000)]
Cleanup of agg copy.
Bruce Momjian [Thu, 18 Dec 1997 04:33:31 +0000 (04:33 +0000)]
Cleanup of agg copy.
Bruce Momjian [Thu, 18 Dec 1997 03:03:41 +0000 (03:03 +0000)]
Fix Query handling for inheritance, and cost computations.
Thomas G. Lockhart [Wed, 17 Dec 1997 23:22:17 +0000 (23:22 +0000)]
Enable timespan_finite() and text_timespan() routines (was commented out).
Define an "ISO-style" timespan output format with "hh:mm:ss" fields.
Enabled by DateStyle = USE_ISO_DATES.
Thomas G. Lockhart [Wed, 17 Dec 1997 23:19:28 +0000 (23:19 +0000)]
Move declarations for timespan2tm() and tm2timespan() from dt.c to here.