Commit Graph

16633 Commits

Author SHA1 Message Date
Tom Lane
ab65429adf Back-patch repairs for --disable-shared support. 2004-01-21 19:25:11 +00:00
Michael Meskes
6932861e86 Added WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE. 2004-01-21 14:11:03 +00:00
Teodor Sigaev
767adcf5d6 Correct type for isalnum 2004-01-19 18:40:23 +00:00
Peter Eisentraut
0054f82c62 Fix typo. 2004-01-19 14:28:06 +00:00
Peter Eisentraut
51299baa9b Translation update 2004-01-18 14:54:18 +00:00
Tom Lane
ab189aaad9 Don't use %s-with-precision format spec to truncate data being displayed
in a COPY error message.  It seems that glibc gets indigestion if it is
asked to truncate strings that contain invalid UTF-8 encoding sequences.
vsnprintf will return -1 in such cases, leading to looping and eventual
memory overflow in elog.c.  Instead use our own, more robust pg_mbcliplen
routine.  I believe this problem accounts for several recent reports of
unexpected 'out of memory' errors during COPY IN.
2004-01-18 02:15:57 +00:00
Tom Lane
9933ba3f67 Repair faulty plan generation in cases where we choose to implement an
IN clause by mergejoin, and a type coercion is needed just above the subplan.
A more extensive patch will follow in HEAD.
2004-01-18 00:31:53 +00:00
Dennis Bjorklund
9575c7af6c Translation updates 2004-01-14 12:14:18 +00:00
Tom Lane
91d4f280dd pg_settings should have UPDATE privilege allowed to public.
(Can't force initdb for this in 7.4 branch, but we can at least see to it
that post-7.4.2 installations will get it right.)
2004-01-14 03:47:12 +00:00
Tom Lane
f07c69ae57 The no-updates-to-system-catalogs-unless-usecatupd restriction should
not apply to system views.  It never mattered before 7.4, but it does now.
2004-01-14 03:45:02 +00:00
Tom Lane
c2d9ae899d Revert ill-starred change of 13-Feb-02: it appeared to fix a problem of
incorrect permissions checking, but in fact disabled most all permissions
checks for view updates.  This corrects problems reported by Sergey
Yatskevich among others, at the cost of re-introducing the problem
previously reported by Tim Burgess.  However, since we'd lived with that
problem for quite awhile without knowing it, we can live with it awhile
longer until a proper fix can be made in 7.5.
2004-01-14 03:39:29 +00:00
Peter Eisentraut
00e734116c Fix format string error. 2004-01-13 22:43:25 +00:00
Peter Eisentraut
31fc448196 Translation update 2004-01-13 18:58:42 +00:00
Dennis Bjorklund
d45a3bd772 Translation updates 2004-01-11 19:30:42 +00:00
Dennis Bjorklund
f94ae60a1f Mark string for translation. 2004-01-11 19:25:44 +00:00
Tom Lane
6119c7740a Fix subquery pullup logic to not be fooled when a view that appears
'simple' references another view that is not simple.  Must recheck
conditions after performing recursive pullup.  Per example from
Laurent Perez, 9-Jan-04.
2004-01-10 00:30:39 +00:00
Tom Lane
05fb316fbb Fix incorrect SQL syntax emitted when -E is given without -P.
Report and fix from Martin Pitt.
2004-01-09 00:15:19 +00:00
Tom Lane
2fb41f900a Remove broken (and unnecessary) definition of operator <> for _int4
datatype; the generic array comparators added in 7.4 supersede this.
Per report and patch from Korea PostgreSQL Users' Group.
2004-01-08 23:40:36 +00:00
Bruce Momjian
f389ff33c3 Update OSF thread flags for non-gcc compiles. 2004-01-08 15:51:38 +00:00
Dennis Bjorklund
611d33a90a Translation updates 2004-01-08 08:51:31 +00:00
Bruce Momjian
88a987fcfd Update Solaris thread setting for non-gcc compilers. 2004-01-08 04:21:20 +00:00
Peter Eisentraut
6a78eecf6f Translation updates 2004-01-07 17:44:07 +00:00
Peter Eisentraut
0658e7905d Translation updates 2004-01-05 19:15:55 +00:00
Peter Eisentraut
0b7bc6288f Correct gettext URL. 2004-01-04 16:44:22 +00:00
Michael Meskes
630f23962b Fixed bug in GRANT OPTION FOR parsing. 2004-01-04 14:50:13 +00:00
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. 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