postgresql/src/backend
Heikki Linnakangas 1296d5c53c Fix a couple of error-handling bugs in the xlogreader patch.
XLogReadRecord should reset its state on every error, to make sure it
re-reads the page on next call. It was inconsistent in that some errors did
that, but some did not.

In ReadRecord(), don't give up on an error if we're in standby mode. The
loop was set up to retry, but the checks within the loop broke out of the
loop on any error.

Andres Freund, with some tweaking by me.
2013-01-17 19:27:04 +02:00
..
access Fix a couple of error-handling bugs in the xlogreader patch. 2013-01-17 19:27:04 +02:00
bootstrap Improve handling of ereport(ERROR) and elog(ERROR). 2013-01-13 18:40:09 -05:00
catalog Update copyrights for 2013 2013-01-01 17:15:01 -05:00
commands Rework order of checks in ALTER / SET SCHEMA 2013-01-15 13:23:43 -03:00
executor Fix obsolete SQL syntax in comment. 2013-01-14 15:48:12 -05:00
foreign Update copyrights for 2013 2013-01-01 17:15:01 -05:00
lib Update copyrights for 2013 2013-01-01 17:15:01 -05:00
libpq Update copyrights for 2013 2013-01-01 17:15:01 -05:00
main Update copyrights for 2013 2013-01-01 17:15:01 -05:00
nodes Redesign the planner's handling of index-descent cost estimation. 2013-01-11 12:56:58 -05:00
optimizer Redesign the planner's handling of index-descent cost estimation. 2013-01-11 12:56:58 -05:00
parser Improve handling of ereport(ERROR) and elog(ERROR). 2013-01-13 18:40:09 -05:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Update copyrights for 2013 2013-01-01 17:15:01 -05:00
postmaster Make sure MaxBackends is always set 2013-01-02 14:39:11 -03:00
regex Update copyrights for 2013 2013-01-01 17:15:01 -05:00
replication Return value of lseek() can be negative on failure. 2013-01-15 00:42:37 +02:00
rewrite Update copyrights for 2013 2013-01-01 17:15:01 -05:00
snowball Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage Prevent very-low-probability PANIC during PREPARE TRANSACTION. 2013-01-13 22:20:22 -05:00
tcop Fix IsUnderPostmaster/EXEC_BACKEND confusion 2013-01-02 18:39:20 -03:00
tsearch Update copyrights for 2013 2013-01-01 17:15:01 -05:00
utils Base the default SSL ciphers on DEFAULT instead of ALL 2013-01-17 15:04:44 +01:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Update copyrights for 2013 2013-01-01 17:15:01 -05:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
nls.mk Split out XLog reading as an independent facility 2013-01-16 16:12:53 -03:00