1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-18 17:41:14 +03:00

16608 Commits

Author SHA1 Message Date
Tom Lane
cd632c983e Fix portability bugs: char values passed to <ctype.h> functions must
be cast to unsigned char.  We have learned this the hard way before.
2004-01-04 04:17:14 +00:00
Tom Lane
71caa53674 Fix discrepancy in prototypes for HPUX pg_dlerror. 2004-01-04 04:06:45 +00:00
Tom Lane
1af7b00169 Fix ReadOffset() to work correctly when off_t is wider than int. 2004-01-04 04:02:22 +00:00
Bruce Momjian
3d5c2692e7 Remove trailing semicolons from macro initializations in plpython.
Problem report on True64 Unix by Nikola Milutinovic.
]
2004-01-04 00:14:55 +00:00
Tom Lane
8265a1d816 Do an explicit fflush after writing a progress message with puts.
This ensures stdout is kept in sync with messages on stderr.
Per report from Olaf Ferger.
2004-01-01 19:27:28 +00:00
Bruce Momjian
f40aa225bd Backpatch Solaris non-gcc thread compile fix to 7.4.X. 2004-01-01 17:35:32 +00:00
Tom Lane
7302130179 Avoid running out of memory during hash_create, by not passing a
number-of-buckets that exceeds the size we actually plan to allow
the hash table to grow to.  Per trouble report from Sean Shanny.
2003-12-30 20:05:15 +00:00
Michael Meskes
386258d3e5 Added missing whitespaces to array argument parsing. 2003-12-29 13:53:17 +00:00
Tom Lane
9c08d8fe56 Fix sanity-check code that mistakenly assumed error and notice messages
could never exceed 30K.  Per report from Andreas Pflug.
2003-12-28 17:44:05 +00:00
Tom Lane
2315548ed7 Avoid infinite loop if connection is lost during PQexecStart() or
PQexecFinish().  Per report from Andreas Pflug.
2003-12-28 17:29:51 +00:00
Michael Meskes
a8c003ea9d Fixed segfault in parsing of EXEC SQL SELECT * FROM foo() AS TBL( c int, i int); 2003-12-24 22:05:06 +00:00
Tom Lane
03d968fb4e More bogosity in alter_table test: sometimes causes prepare test to fail
by means of arbitrarily renaming tables the other test depends on.
2003-12-23 20:34:51 +00:00
Tom Lane
d30c69bc63 alter_table test sometimes failed in parallel mode, because of transient
table name conflict against rangefuncs test.
2003-12-23 20:17:55 +00:00
Bruce Momjian
9c6063890b Regenerate HISTORY for release. 2003-12-22 07:28:46 +00:00
Tom Lane
5bb4d8e8ea Update HISTORY for 7.4.1 release. REL7_4_1 2003-12-21 23:44:40 +00:00
Tom Lane
74f35bb2b2 Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch. 2003-12-21 18:06:26 +00:00
Peter Eisentraut
39a08d3ed8 Some refining of release notes. Markup is still broken by someone else,
so I cannot remake HISTORY.
2003-12-21 16:36:34 +00:00
Bruce Momjian
567feba7f6 Update 7.4.1 release notes in preparation for release. 2003-12-21 05:24:00 +00:00
Tom Lane
1661b86bca Dept. of third thoughts: in fact, libpq should support SCM_CREDS challenge
even when HAVE_GETPEEREID is defined, else it will be unable to connect to
pre-7.4 backends that are using IDENT authentication.
2003-12-20 18:46:02 +00:00
Tom Lane
7133152c5b Fix broken IDENT support for FreeBSD (appears to have been broken by
ill-considered conditional logic in getpeereid patch of 3-Dec-2002).
Per bug #1021.
2003-12-20 18:25:02 +00:00
Peter Eisentraut
46b5820dc0 Update INSTALL file for 7.4.1. 2003-12-20 15:32:18 +00:00
Bruce Momjian
4c15abce93 Update HISTORY file for 7.4.1. 2003-12-20 00:57:32 +00:00
Bruce Momjian
41f60b20fd Backpatch pg_service.conf file change to not default dbname to match
service name.
2003-12-19 23:32:36 +00:00
Bruce Momjian
cdbfbcf987 Supress ecpg thread test if configure didn't enable threads. Fix
tools/thread to run even if configure didn't enable threads because this
test is used before enabling threads for the OS.
2003-12-19 23:29:29 +00:00
Peter Eisentraut
24cef7f46c 7.4.1 release note improvements 2003-12-19 20:06:14 +00:00
Peter Eisentraut
5570c9ee14 Forbid REVOKE on untrusted languages, and don't dump privileges of
untrusted languages (in case they sneak in).
2003-12-19 14:21:43 +00:00
Peter Eisentraut
ed651a54fd Add missing $(X). 2003-12-19 11:54:23 +00:00
Tom Lane
035a7ea584 Make to_hex() behave portably on negative input values (treat them as
unsigned integers).  Per report from Jim Crate.
2003-12-19 04:56:54 +00:00
Joe Conway
acae15faf3 Use a shutdown callback to ensure proper clean up when rescanning
partially-evaluated SRFs. Per report found here:
http://archives.postgresql.org/pgsql-general/2003-12/msg00851.php
2003-12-19 00:00:27 +00:00
Tom Lane
7748c5ee29 Fix memory leak with SSL connections due to missing X509_free() calls.
Per Neil Conway.
2003-12-18 22:49:34 +00:00
Tom Lane
cf88f005f2 Use a shutdown callback to clear setArgsValid in a FuncExprState that is
evaluating a set-valued function.  This fixes some additional problems
with rescanning partially-evaluated SRFs.
2003-12-18 22:23:55 +00:00
Peter Eisentraut
3434f9e4df Forgot to change one compatlib.h. 2003-12-18 20:25:57 +00:00
Tom Lane
dc254c8674 Ensure set-returning functions in the targetlist of a plan node will be
shut down cleanly if the plan node is ReScanned before the SRFs are run
to completion.  This fixes the problem for SQL-language functions, but
still need work on functions using the SRF_XXX() macros.
2003-12-18 20:21:53 +00:00
Peter Eisentraut
716a3d6cff Move Informix compatibility include files out of the way. compatlib.h
was integrated into ecpg_informix.h, the other ones go into their own
subdirectory that is automatically considered by the embedded preprocessor
when in Informix mode.
2003-12-18 18:55:06 +00:00
Dave Cramer
757a328d0e patch for new OID74Test 2003-12-18 04:18:15 +00:00
Dave Cramer
1d37f8e288 backpatch for OID74Test to conform with jdbc tests 2003-12-18 04:10:12 +00:00
Dave Cramer
6096a72a54 backpatch for rs.previous from Kris Jurka, reported by Andrew Fyfe 2003-12-18 03:35:55 +00:00
Dave Cramer
2864c18ee5 patch for building for an alternate port 2003-12-18 03:32:05 +00:00
Dave Cramer
b304212560 back patch by Kris Jurka to get the correct protocol version from the server 2003-12-18 03:29:12 +00:00
Tom Lane
663c8295a8 Adjust rules output for unknown-vs-any change (affects expected contents
of pg_stats view definition).
2003-12-18 01:48:59 +00:00
Tom Lane
1e2883a115 information_schema.constraint_column_usage and key_column_usage should
not discriminate against system columns, since we support constraints on
system columns, and in fact constraints on OID are moderately useful.
2003-12-17 22:11:42 +00:00
Tom Lane
1ba505dce1 Fix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz. 2003-12-17 21:45:51 +00:00
Tom Lane
f79c36fc6f Repair badly broken estimation of output buffer size in lquery_out(). 2003-12-17 20:15:53 +00:00
Tom Lane
5129070dfd Reorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion
does not affect UNKNOWN-type literals or Params.  This fixes the recent
complaint about count('x') being broken, and improves consistency in
a few other respects too.
2003-12-17 19:49:52 +00:00
Tom Lane
ea27e96dd0 Repair planner failure when there are multiple IN clauses, each with
a join in its subselect.  In this situation we *must* build a bushy
plan because there are no valid left-sided or right-sided join trees.
Accordingly, hoary sanity check needs an update.  Per report from
Alessandro Depase.
2003-12-17 17:08:06 +00:00
Dave Cramer
0323e570af back patching fix for compat 7.1 binary stream issues with the new protocol
added test for same
2003-12-17 15:48:40 +00:00
Michael Meskes
96cee3f12a Applied all bug fixes from head also to 7.4. Just bugfixes, no new features. 2003-12-17 15:31:51 +00:00
Bruce Momjian
9c09764783 Restore information schema upgrade instructions of Peter. 2003-12-17 07:07:46 +00:00
Peter Eisentraut
0b00d7cd4a Fix constraint_column_usage for foreign keys. 2003-12-16 14:56:34 +00:00
Peter Eisentraut
655eb600de Repair name. 2003-12-16 09:46:12 +00:00