Commit Graph

7248 Commits

Author SHA1 Message Date
Tom Lane 1a604c3cd9 Back-patch password leak fix for Vaschenko. 2001-02-07 23:42:27 +00:00
Tom Lane 7bfec168bf Back-patch fix for crash in GetRawDatabaseInfo(), just in case someone
else needs it.
2001-01-14 03:16:12 +00:00
Tom Lane de9b43f3f5 Back-patch fix for 'btree: failed to add item to the page in _bt_sort (2)'
failure during index creation.  This problem should be gone in current
sources, but I just thought I'd commit the 7.0.* patch in case anyone
else needs it.
2001-01-04 21:51:49 +00:00
Tatsuo Ishii a860a403a9 Fix a bug in conversion from big5 to EUC_TW (CNS 11643-1992 Plane 3)
Thanks Chih-Chang Hsieh <cch@cc.kmu.edu.tw> for finding the bug.
2000-12-09 04:30:04 +00:00
Tatsuo Ishii 976a456b19 Fix bugs in EUC_TW support. This fix includes patches contributed
by Chih-Chang Hsi. See "A Patch for MIC to EUC_TW code converting in
mb support" posting in pgsql-patches list dated 09 Nov 2000.
2000-11-17 04:53:54 +00:00
Tatsuo Ishii 1350059d83 Recongizing PGCLIENTENCODING has been broken since 7.0. 2000-11-17 04:25:29 +00:00
Bruce Momjian f68b847504 Add new 7.0.3 item to all places. 2000-11-12 14:26:59 +00:00
Marc G. Fournier 6835ca6298 put a quick, short note in about Tom's last bug fix for the 'double portal
on abort' crash ... hopefully I'm sum'd up his explanation close enough? :)
2000-11-12 07:31:36 +00:00
Tom Lane ae585b5c37 Stopgap patch for problem with cursors using hash joins: an ABORT
would cause two attempts to delete the hashtable portal, one from
query shutdown and one from portalmem.c.  Fix by making hash portals
be treated as 'special' portal names, so that CollectNamedPortals
will not think it should delete them.  This code is in need of
complete rewrite (and is already largely rewritten in current
sources), but still need to put a finger in the dike for 7.0.*.
2000-11-10 04:08:25 +00:00
Bruce Momjian ef6bee30c5 cleanup 2000-11-03 04:17:55 +00:00
Bruce Momjian 63a8127cf4 Brand 7.0.3. 2000-11-03 03:42:57 +00:00
Jan Wieck bfecc6a524 Added pg_dumpaccounts utility script in contrib.
Derived from pg_dumpall it just dumps the pg_shadow and
pg_group contents.

Jan
2000-11-02 18:09:49 +00:00
Jan Wieck 5d547cd236 Revoked changes for pg_dumpaccounts
Script will go into the contrib directory.

Jan
2000-11-02 17:33:41 +00:00
Jan Wieck 013c2c65e0 New dump utility script pg_dumpaccounts.
Dumps pg_shadow and pg_group (derived from pg_dumpall).

Jan
2000-11-02 16:54:21 +00:00
Tatsuo Ishii 75413f7af9 Fix for inserting/copying longer multibyte strings into bpchar data
types.
2000-11-02 05:11:42 +00:00
Tom Lane 6779723126 Back-patch fix for bogus clearing of BufferDirtiedByMe. 2000-10-22 20:33:22 +00:00
Tom Lane 6dee4ac84c Fix to_char() to avoid coredump on NULL input. Not needed in current
sources due to fmgr rewrite, but 7.0.3 can use the patch...
2000-10-22 19:19:42 +00:00
Tom Lane d11d8d0501 Fix time_larger, time_smaller, timetz_larger, timetz_smaller to meet
nodeAgg.c's expectation that aggregate transition functions never return
pointers to their input values.  This is fixed in a much better way in
current sources, but in 7.0.* it's gotta be done like this.
2000-10-19 20:52:35 +00:00
Tom Lane 40938384aa Back-patch fix for AM/PM boundary problem in to_char().
Fix from Karel Zak, 10/18/00.
2000-10-19 18:39:03 +00:00
Tom Lane 1dfc377bf8 Back-patch CommandCounterIncrement fix. 2000-10-19 03:58:47 +00:00
Tom Lane b611c38282 Patch VACUUM problem with moving chain of update tuples when source
and destination of a tuple lie on the same page.
2000-10-17 01:39:56 +00:00
Tom Lane c3bbbb1dcc Back-patch nodeMaterial to honor chgParam by recomputing its output. 2000-10-06 01:28:47 +00:00
Hiroshi Inoue 201d35d47f avoid database-wide restart on write error 2000-10-04 07:50:00 +00:00
Tom Lane 31ab0831a4 Back-patch fix for TRUNCATE failure on relations with indexes. 2000-09-30 18:47:07 +00:00
Tom Lane 956ba755e7 Back-patch fix to grab read lock on a buffer while it is written out. 2000-09-25 04:34:10 +00:00
Tom Lane 730e2ffebc Back-patch code to deduce implied equalities from transitivity of
mergejoin clauses, and add these equalities to the given WHERE clauses.
This is necessary to ensure that sort keys we think are equivalent
really are equivalent as soon as their rels have been joined.  Without
this, 7.0 may create an incorrect mergejoin plan.
2000-09-23 23:50:47 +00:00
Tom Lane 783af51cb1 Back-patch fix for subselect in targetlist of Append node. 2000-09-23 23:41:05 +00:00
Tom Lane 0e0832b0dd Back-patch fix to make pg_dump dump 'iscachable' flag for functions. 2000-09-23 23:36:17 +00:00
Tom Lane de3e0183b8 Back-patch fix that allows AllocateFile() to return errno=ENFILE/EMFILE
after we are no longer able to close any more VFDs.  This is needed to
avoid postmaster crash under out-of-file-descriptors conditions.
2000-09-23 23:31:24 +00:00
Tom Lane c954088b83 Back-patch fix for '.' not in PATH at build time, per SL Baur. 2000-09-23 22:51:19 +00:00
Tom Lane 6a3bbdf7b3 Back-patch fix to include kernel errno message in all smgr elog messages. 2000-09-23 22:17:12 +00:00
Tom Lane 403bdc4ec1 Back-patch fix for 'Sorcerer's Apprentice' syndrome wherein md.c would
create a vast quantity of zero-length files if asked to access a block
number far beyond the actual end of a relation.
2000-09-23 22:11:41 +00:00
Tom Lane aa09aaabff Back-patch fix for erroneous use of strcmp(). 2000-09-23 21:32:55 +00:00
Tom Lane 89ebadcd77 Back-patch fix for erroneous selectivity of not-equals. 2000-09-23 21:27:05 +00:00
Tom Lane 5a5531a3f4 Apply Jeroen van Vianen's patch for failure to check heap_openr failure
in RI triggers.  This is fixed in another way in current sources, but
might as well apply this patch to REL7_0 branch so that 7.0.3 need not
suffer this crash.
2000-09-23 21:15:26 +00:00
Tom Lane 3017000115 Back-patch fix to copy sub-Query nodes before planning them. This
fixes problems with subselects appearing in contexts like COALESCE or
BETWEEN, where parser will make multiple links to same subexpression.
2000-09-23 21:00:05 +00:00
Tom Lane c3aab02939 Back-patch fix to remove bogus use of int4out(). 2000-09-23 19:30:04 +00:00
Tom Lane 01e664025e Back-patch fix for erroneous free() of getpwuid() result. 2000-09-23 19:17:06 +00:00
Hiroshi Inoue 8e9ad61397 Cancel request while waiting for a lock should try to wake
up sleeping processes.
2000-09-20 07:20:27 +00:00
Tom Lane a455ca4812 Back-patch fix to ensure that VACUUM always calls FlushRelationBuffers. 2000-09-19 21:01:04 +00:00
Tatsuo Ishii c33ea1e8b6 Allow PL/pgSQL accept non ascii identifiers 2000-09-15 12:08:56 +00:00
Tom Lane 16f1cfcb87 Back-patch fix for bogus plans involving non-mark/restorable plan
as inner plan of a mergejoin.
2000-09-08 02:11:33 +00:00
Tatsuo Ishii 4fc8465398 Fix psql crash. If MULTIBYTE is enabled, \l+ dumps core due to
SQL buffer in listAllDbs is just too small.
2000-09-07 04:53:32 +00:00
Tom Lane dae17e5ad1 Back-patch fix to ensure we abort any open transaction at backend exit. 2000-08-30 21:19:32 +00:00
Marc G. Fournier a2661b57e1 oops, in v7.x its USE_SYSLOG, not ENABLE_SYSLOG
modify config.h.in so that it gets set by configure properly
2000-08-28 20:27:32 +00:00
Marc G. Fournier 6b359b5e58 backpatch the --enable-syslog functionality to REL7_0 branch 2000-08-28 20:04:39 +00:00
Tom Lane 91319022c4 Back-patch primary fix for planner recursion bug. 2000-07-27 23:53:29 +00:00
Tatsuo Ishii daee6ca585 SELECT ... FOR UPDATE neglects duplicate key checking.
patches submitted by Hiroshi Inoue.
2000-07-26 13:09:30 +00:00
Tom Lane 0a77af6727 Backpatch backwards-index-scan fix. 2000-07-13 05:52:18 +00:00
Tom Lane da1017659a Back-patch StrNCpy fix. 2000-07-07 21:29:57 +00:00