postgresql/src/backend
Heikki Linnakangas d6a7271958 Correctly detect SSI conflicts of prepared transactions after crash.
A prepared transaction can get new conflicts in and out after preparing, so
we cannot rely on the in- and out-flags stored in the statefile at prepare-
time. As a quick fix, make the conservative assumption that after a restart,
all prepared transactions are considered to have both in- and out-conflicts.
That can lead to unnecessary rollbacks after a crash, but that shouldn't be
a big problem in practice; you don't want prepared transactions to hang
around for a long time anyway.

Dan Ports
2012-02-29 15:42:36 +02:00
..
access Add const qualifiers where they are accidentally cast away 2012-02-28 12:42:08 +02:00
bootstrap Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
catalog REASSIGN OWNED: Support foreign data wrappers and servers 2012-02-22 17:33:12 -03:00
commands ALTER TABLE: skip FK validation when it's safe to do so 2012-02-27 19:10:24 -03:00
executor Make EXPLAIN (BUFFERS) track blocks dirtied, as well as those written. 2012-02-22 20:33:05 -05:00
foreign Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
lib Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
libpq Remove useless cast 2012-02-26 15:31:16 +02:00
main Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
nodes ALTER TABLE: skip FK validation when it's safe to do so 2012-02-27 19:10:24 -03:00
optimizer Fix thinko in new match_join_clauses_to_index() logic. 2012-02-28 18:10:40 -05:00
parser Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Fix poll() implementation of WaitLatchOrSocket to notice postmaster death. 2012-01-15 22:08:03 +02:00
postmaster Avoid double close of file handle in syslogger on win32 2012-02-21 17:12:25 +01:00
regex Merge dissect() into cdissect() to remove a pile of near-duplicate code. 2012-02-24 18:40:31 -05:00
replication Minor bug fix and cleanup from self-review of sync rep queues patch. 2012-01-30 14:36:17 +00:00
rewrite Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
snowball Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
storage Correctly detect SSI conflicts of prepared transactions after crash. 2012-02-29 15:42:36 +02:00
tcop Run a portal's cleanup hook immediately when pushing it to FAILED state. 2012-02-15 16:19:01 -05:00
tsearch Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
utils Move CRC tables to libpgport, and provide them in a separate include file. 2012-02-28 19:53:39 -05:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Speed up in-memory tuplesorting. 2012-02-15 12:13:32 -05:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
nls.mk Sort file list when creating gettext-files 2011-12-27 20:20:56 +02:00