Commit Graph

5423 Commits

Author SHA1 Message Date
Bruce Momjian
f96babac12 While I was running some tests in psql, trying to figure out how to change
the query string to handle any length, I discovered that under certain
conditions, psql will core dump when handling long strings.  Thus, the
patch.  It was caused by a buffer overrun, probably not noticeable in a lot
of cases, but pretty noticeable in mine.

Problem was caused by the fact that the length check is only performed after
the check for a ; to get the end of the query and execute.

Cheers...

MikeA
1999-07-20 17:20:43 +00:00
Bruce Momjian
a2bb39c738 Update TODO list. 1999-07-20 17:16:25 +00:00
Bruce Momjian
c175de56dc Reverse out cache changes that are not ready yet. 1999-07-20 17:14:08 +00:00
Bruce Momjian
7944d501f4 Use -ieee alpha flag for gcc and egcs only. 1999-07-20 16:48:58 +00:00
Bruce Momjian
41b60ba7ad autoconf 1999-07-20 02:45:44 +00:00
Bruce Momjian
93fbd46ba5 Re-add Makefile. 1999-07-20 02:44:09 +00:00
Bruce Momjian
e740c9b1d1 Move -ieee to adt Makefile, and add CPU Makefile variable. 1999-07-20 02:42:20 +00:00
Tom Lane
2908bd535f Complain about INSERT ... SELECT ... ORDER BY, which we do not
support, but which the grammar was accepting.  Also, fix several bugs
having to do with failure to copy fields up from a subselect to a select
or insert node.
1999-07-20 00:18:01 +00:00
Bruce Momjian
d6ce220f04 psql fix. 1999-07-19 21:06:19 +00:00
Bruce Momjian
e2f32054f4 linux/sparc cleanup 1999-07-19 18:19:40 +00:00
Bruce Momjian
b653d1e263 Fix for linux/sparc. 1999-07-19 18:07:36 +00:00
Bruce Momjian
50644a2202 Cleanup of patch just applied. 1999-07-19 16:49:17 +00:00
Bruce Momjian
2b8c9e793d Set the application name, used for parsing readline's .inputrc -- dz
Massimo
1999-07-19 16:46:53 +00:00
Bruce Momjian
be1851902a Fix #if if. 1999-07-19 14:30:52 +00:00
Michael Meskes
9f0ffa2241 *** empty log message *** 1999-07-19 12:37:48 +00:00
Bruce Momjian
faf7d78174 Install new alignment code to use MAXALIGN rather than DOUBLEALIGN where
approproate.
1999-07-19 07:07:29 +00:00
Bruce Momjian
e259780b13 Enable WIN32 compilation of libpq. 1999-07-19 06:25:40 +00:00
Bruce Momjian
bf98a4656b Win32 cleanup 1999-07-19 02:45:43 +00:00
Bruce Momjian
9da390d348 autoconf 1999-07-19 02:32:55 +00:00
Bruce Momjian
e44c931801 Re-add getopt.h check, remove NT-specific tests for it. 1999-07-19 02:27:16 +00:00
Tom Lane
677028177e Clean up gcc warning about unused static decl. 1999-07-19 02:06:15 +00:00
Bruce Momjian
435ed7aaa1 autoconf 1999-07-19 01:20:00 +00:00
Bruce Momjian
c9acd2da12 Remove getopt configure check. 1999-07-19 01:18:05 +00:00
Tom Lane
44bc7ab2a6 Put back mistakenly removed configure test for HAVE_NETINET_IN_H. 1999-07-19 00:55:59 +00:00
Bruce Momjian
49e92caba0 Update TODO list. 1999-07-19 00:50:43 +00:00
Tom Lane
0c4929ff86 Parser no longer considers
SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2;
to be ambiguous ... which I think is correct behavior.
1999-07-19 00:29:07 +00:00
Tom Lane
7f76eab140 Rewrite parser's handling of INSERT ... SELECT so that processing
of the SELECT part of the statement is just like a plain SELECT.  All
INSERT-specific processing happens after the SELECT parsing is done.
This eliminates many problems, e.g. INSERT ... SELECT ... GROUP BY using
the wrong column labels.  Ensure that DEFAULT clauses are coerced to
the target column type, whether or not stored clause produces the right
type.  Substantial cleanup of parser's array support.
1999-07-19 00:26:20 +00:00
Bruce Momjian
c981442772 Update ecpg compile. 1999-07-18 21:07:02 +00:00
Bruce Momjian
b9b5f5d6ca autoconf 1999-07-18 21:05:17 +00:00
Bruce Momjian
cb08547646 Add getopt test. 1999-07-18 21:02:56 +00:00
Bruce Momjian
0b976ec1d8 autoconf 1999-07-18 20:46:25 +00:00
Bruce Momjian
2798162038 cleanup 1999-07-18 20:43:33 +00:00
Bruce Momjian
7badb1e792 Fix configure problem. 1999-07-18 20:43:13 +00:00
Bruce Momjian
b721c9e164 autoconf 1999-07-18 20:13:40 +00:00
Tom Lane
fea7ab5298 Fix typo in _outArrayRef(). 1999-07-18 19:02:49 +00:00
Bruce Momjian
7ffd7daddb update 1999-07-18 18:27:05 +00:00
Bruce Momjian
d6f26e6451 Update for 6.6. 1999-07-18 18:06:42 +00:00
Bruce Momjian
a927d6ea4e configure cleanup 1999-07-18 18:03:50 +00:00
Bruce Momjian
d0634aca39 configure cleanup 1999-07-18 17:38:25 +00:00
Bruce Momjian
ef9699d6da autoconf 1999-07-18 16:44:31 +00:00
Bruce Momjian
07262a2dfb Update configure include checks. 1999-07-18 16:42:16 +00:00
Bruce Momjian
0858b06f16 autoconf 1999-07-18 14:54:46 +00:00
Bruce Momjian
46355e94d4 Update includes from configure 1999-07-18 14:48:30 +00:00
Bruce Momjian
9c30bba810 autoconf 1999-07-18 14:38:47 +00:00
Bruce Momjian
1c0c607110 No check for string/strings.h. 1999-07-18 14:34:38 +00:00
Tom Lane
32664b4b4b Improve commentary about ArrayRef and ResTarget nodes. 1999-07-18 03:45:01 +00:00
Bruce Momjian
3406901a29 Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
Tom Lane
c62b8a68bf Fix incorrect declaration of rtentry as 'ResTarget' where it
should be 'RangeTblEntry' ; explain.c had copied the erroneous code.
1999-07-17 19:01:21 +00:00
Bruce Momjian
fe1f757e56 Update TODO list. 1999-07-17 16:47:46 +00:00
Bruce Momjian
33e826d167 Fix for multi-byte includes. 1999-07-17 16:25:28 +00:00