Commit Graph

3769 Commits

Author SHA1 Message Date
Marc G. Fournier edd626cb3e Try this snprintf() implementation, used in sendmail... 1998-09-04 14:34:23 +00:00
Marc G. Fournier 370d6cdb64 From: David Hartwig <daybee@bellatlantic.net>
I put some extra checks to make sure a query was a good candidate for
rewrite into a UNION.    Besides the existing checks:

1.  Make sure the AND/OR tree was rectangular.  ( i.e.    3 X 4  or 10 X
3)
2.  Only one table.
3.  Must have an AND dimension.
4.  At least 9 OP expressions total

Also  cleaned up and commented.
1998-09-04 12:52:23 +00:00
Bruce Momjian e9d0fa3762 libpgtcl cleanups for Tom Lane. 1998-09-04 05:03:05 +00:00
Thomas G. Lockhart b806b3d3f8 Allow insert statements to have every column
supplied by a DEFAULT clause.  Enables INSERT INTO TABLE DEFAULT VALUES...
1998-09-03 14:21:06 +00:00
Thomas G. Lockhart dfab686ce8 Update to match newest gram.c since both are generated from gram.y.
Should be done every time gram.c is refreshed.
1998-09-03 12:26:20 +00:00
Bruce Momjian b3f8bbb973 Oops missing file. 1998-09-03 05:09:27 +00:00
Bruce Momjian 9d8d647146 patch cleanups. 1998-09-03 05:08:28 +00:00
Bruce Momjian fcecc5ca1e [Part #1: Type: text/plain, Encoding: 7bit, Size: 59]
I will be cleaning this up more before the Oct 1 deadline.

David Hartwig.  AND/OR fix.
1998-09-03 02:34:35 +00:00
Bruce Momjian b25a513b49 Fix ifdef. 1998-09-03 02:32:41 +00:00
Bruce Momjian 35a945f2b5 New stuff from Peter Mount for jdbc. 1998-09-03 02:31:38 +00:00
Bruce Momjian c37adac74e New stuff for 6.4 jdbc.
Peter mount
1998-09-03 02:29:45 +00:00
Bruce Momjian d318315200 > Yikes, that is certainly not standard C. I have never seen that
before.
> Looks like a GNU-ism.  I nice one, but still a GNU-ism.

Sorry, I didn't know it is a GNU extension. I have written this patch
which should fix the problem. Let me know if you still have problems.

Massimo Dal Zotto
1998-09-03 02:20:30 +00:00
Bruce Momjian 9fbaf1d851 Remove \r\n in windows makefile. 1998-09-03 02:16:27 +00:00
Bruce Momjian 63e39ab9a9 O2. Seems tas() for PPC (storage/buffer/s_lock.c) never works if
compiled with -O0. Included are patches that should fix the problem
(of course I have confirmed -O2 works with this patch).

BTW, here is a platforms/regression test failure(serious one--backend
death) matrix.

Tatsuo Ishii
1998-09-03 02:14:39 +00:00
Bruce Momjian 811106676e Oops. I'll fix this.
Here are patches for bin/createdb/createdb.sh.
--
Tatsuo Ishii
t-ishii@sra.co.jp
1998-09-03 02:12:14 +00:00
Bruce Momjian f71d0cf64e Attached is a patch to remove the definitions of libpq's internal
structs from libpq-fe.h, as we previously discussed.

There turned out to be sloppy coding practices in more places than
I had realized :-(, but all in all I think it was a well-worth-while
exercise.

I ended up adding several routines to libpq's API in order to respond
to application requirements that were exposed by this work.  I owe the
docs crew updates for libpq.sgml to describe these changes.  I'm way too
tired to work on the docs tonight, however.

This is the last major change I intend to submit for 6.4.  I do want
to see if I can make libpgtcl work with Tcl 8.0 before we go final,
but hopefully that will be a minor bug fix.
1998-09-03 02:10:56 +00:00
Bruce Momjian bcc15f15e1 > David Hartwig wrote:
>
> Please apply this HAVING regression patch.
> > My bad.   It is caused by a known bug having to do with GROUP BY.
It ain't$
> > nothing to do with HAVING.  For some reason the bug went away for a
while, $
> > script.  It must have, because that is how I created the expected
file.   :(
> >
> > A patch to the regression will be forthcoming.
>
1998-09-02 23:37:13 +00:00
Bruce Momjian 58fdae0ddf Fix for indexing problems. 1998-09-02 23:05:37 +00:00
Thomas G. Lockhart 557d295b84 Update to support the CREATE TABLE DEFAULT VALUES statement in gram.y. 1998-09-02 15:48:28 +00:00
Thomas G. Lockhart 80c3241da7 Support CREATE TABLE DEFAULT VALUES statement. 1998-09-02 15:47:30 +00:00
Thomas G. Lockhart e6c1fbab5c Add more new pages. 1998-09-02 03:01:02 +00:00
Bruce Momjian e57cfd81d1 autoconf 1998-09-02 02:38:29 +00:00
Bruce Momjian 5ab8a4ee6e Fix for install path 1998-09-02 02:34:00 +00:00
Bruce Momjian 566cd87873 update 1998-09-02 02:08:02 +00:00
Bruce Momjian 21b9968d11 install file search fix 1998-09-02 02:04:39 +00:00
Bruce Momjian ec47d20cf9 autoconf 1998-09-02 02:00:07 +00:00
Bruce Momjian b07f4b4efb Configure fix for install script search. 1998-09-02 01:54:18 +00:00
Bruce Momjian 82707ffe2b re-add bsdi makefile 1998-09-01 21:43:16 +00:00
Bruce Momjian 61d673b2ea bsdi cleanup 1998-09-01 16:31:19 +00:00
Bruce Momjian c0dd20f92c cleanup 1998-09-01 16:21:47 +00:00
Thomas G. Lockhart b9cbb1ed39 Fix message delimiters for substitution by sed script during installation.
They were missing a "PG_" prefix so were not substituted properly.
1998-09-01 15:57:00 +00:00
Thomas G. Lockhart 1660e300e2 Add new files from Oliver and Thomas. 1998-09-01 15:53:09 +00:00
Thomas G. Lockhart cdc91300c3 Remove mention of the migration directory since this info has already
been integrated into here.
1998-09-01 15:50:53 +00:00
Thomas G. Lockhart da01b487ce Put in explicit reference to the ref/ subdirectory to help emacs. 1998-09-01 15:49:22 +00:00
Thomas G. Lockhart b09b2b6818 Initial information for Linux/Unix installation. 1998-09-01 15:48:00 +00:00
Bruce Momjian 0f6b004ad2 cleanups of indexing.c 1998-09-01 06:51:35 +00:00
Bruce Momjian 4b9e21bbc2 cleanup 1998-09-01 06:22:46 +00:00
Bruce Momjian a89089c1f4 cleanup 1998-09-01 05:34:16 +00:00
Bruce Momjian fa1a8d6a97 OK, folks, here is the pgindent output. 1998-09-01 04:40:42 +00:00
Bruce Momjian af74855a60 Renaming cleanup, no pgindent yet. 1998-09-01 03:29:17 +00:00
Bruce Momjian 2aa080fc93 indexing.c cleanups. 1998-08-31 17:49:18 +00:00
Bruce Momjian 24a05f5b3e Fix for regproc 1998-08-31 07:55:50 +00:00
Bruce Momjian 50676b40ac Fix for regprocout, use underscore, not parens. 1998-08-31 07:35:44 +00:00
Bruce Momjian 0705b02f18 OR clause index fix 1998-08-31 07:19:56 +00:00
Bruce Momjian cbf83190c5 Two spaces after a colon. 1998-08-31 04:48:36 +00:00
Bruce Momjian 2913d6557e Preserver pg_log and pg_variable in upgrade. Cleanups. 1998-08-31 04:32:18 +00:00
Bruce Momjian a753e5d192 Fix for possible releasebuffer bug. 1998-08-30 23:25:56 +00:00
Marc G. Fournier 6c4982851a From: Massimo Dal Zotto <dz@cs.unitn.it> 1998-08-30 21:05:27 +00:00
Thomas G. Lockhart 6f3de1bb66 Types removed from Postgres: oidint2, oidint4, oidname.
Fix example columns in alter_table.out to use datetime and timespan
 as a substitute for oidint4 and oidname.
1998-08-30 19:54:04 +00:00
Marc G. Fournier 91178b8b2e From: Tom Lane <tgl@sss.pgh.pa.us>
We're carrying around a copy of install-sh in case the local system
has no install script.  It's wasted baggage, because configure doesn't
know it's there :-(.  (Apparently everyone who's used postgres lately
already had an install script somewhere in their path.  I happened to
try to run configure with a minimal PATH tonight, and it promptly
gave up for lack of an install program.)  Here's the patch.
1998-08-30 19:41:50 +00:00