postgresql/src/backend
Tom Lane e41cb89a03 Fix an error in the original coding of holdable cursors: PersistHoldablePortal
thought that it didn't have to reposition the underlying tuplestore if the
portal is atEnd.  But this is not so, because tuplestores have separate read
and write cursors ... and the read cursor hasn't moved from the start.
This mistake explains bug #2970 from William Zhang.

Note: the coding here is pretty inefficient, but given that no one has noticed
this bug until now, I'd say hardly anyone uses the case where the cursor has
been advanced before being persisted.  So maybe it's not worth worrying about.
2007-02-06 22:49:36 +00:00
..
access Correct an old logic error in btree page splitting: when considering a split 2007-01-27 20:53:41 +00:00
bootstrap Fix bootstrap.c so that database startup process and bgwriter properly release 2006-06-08 23:55:54 +00:00
catalog Clean up rather sloppy fix in HEAD for the ancient bug that CREATE CONVERSION 2006-08-31 17:31:40 +00:00
commands Fix an error in the original coding of holdable cursors: PersistHoldablePortal 2007-02-06 22:49:36 +00:00
executor Remove typmod checking from the recent security-related patches. It turns 2007-02-06 17:35:34 +00:00
lib Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
libpq Back-patch second version of AIX getaddrinfo fix. 2006-10-20 01:10:28 +00:00
main Set progname early in the postmaster/postgres binary, rather than doing 2006-02-01 00:32:06 +00:00
nodes Restore the former RestrictInfo field valid_everywhere (but invert the flag 2005-11-14 23:54:36 +00:00
optimizer Repair insufficiently careful type checking for SQL-language functions: 2007-02-02 00:03:30 +00:00
parser Repair incorrect check for coercion of unknown literal to ANYARRAY, a bug 2006-10-11 20:21:11 +00:00
po Translation updates 2007-01-31 08:27:01 +00:00
port Fix infinite sleep and failes of send in Win32. 2006-10-13 14:00:17 +00:00
postmaster Back-port changes of Jan 16 and 17 to "revoke" pending fsync requests during 2007-01-27 20:15:55 +00:00
regex Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:23:31 +00:00
rewrite Fix failure to apply domain constraints to a NULL constant that's added to 2006-01-06 20:11:18 +00:00
storage Back-port changes of Jan 16 and 17 to "revoke" pending fsync requests during 2007-01-27 20:15:55 +00:00
tcop Fix core dump in duration logging for a V3-protocol Execute message 2006-08-13 22:18:22 +00:00
utils Get pg_utf_mblen(), pg_utf2wchar_with_len(), and utf2ucs() all on the same 2007-01-24 17:12:29 +00:00
Makefile Add an ifneq to avoid make warning on AIX --- there is a separate rule 2005-10-27 20:45:29 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00