postgresql/src/backend
Tom Lane 5b706ba481 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:24 +00:00
..
access Remove some dead code, per Heikki. 2007-02-06 14:55:11 +00:00
bootstrap Add COST and ROWS options to CREATE/ALTER FUNCTION, plus underlying pg_proc 2007-01-22 01:35:23 +00:00
catalog Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
commands Fix an error in the original coding of holdable cursors: PersistHoldablePortal 2007-02-06 22:49:24 +00:00
executor Remove typmod checking from the recent security-related patches. It turns 2007-02-06 17:35:20 +00:00
lib Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
libpq On Windows, use pgwin32_waitforsinglesocket() instead of select() to wait for 2007-01-26 20:06:52 +00:00
main Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
nodes Implement XMLSERIALIZE for real. Analogously, make the xml to text cast 2007-02-03 14:06:56 +00:00
optimizer Fix a performance regression in 8.2: optimization of MIN/MAX into indexscans 2007-02-06 06:50:26 +00:00
parser Implement XMLSERIALIZE for real. Analogously, make the xml to text cast 2007-02-03 14:06:56 +00:00
po Translation updates 2006-12-02 01:16:16 +00:00
port Fix typo in comment. 2007-02-06 16:20:23 +00:00
postmaster Update process termination message to display signal number and name 2007-01-29 20:17:40 +00:00
regex Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
rewrite Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
storage Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
tcop Add CREATE/ALTER/DROP OPERATOR FAMILY commands, also COMMENT ON OPERATOR 2007-01-23 05:07:18 +00:00
utils Implement XMLSERIALIZE for real. Analogously, make the xml to text cast 2007-02-03 14:06:56 +00:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +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