postgresql/src/include/access
Simon Riggs 49e9281549 Rework handling of subtransactions in 2PC recovery
The bug fixed by 0874d4f3e1
caused us to question and rework the handling of
subtransactions in 2PC during and at end of recovery.
Patch adds checks and tests to ensure no further bugs.

This effectively removes the temporary measure put in place
by 546c13e11b.

Author: Simon Riggs
Reviewed-by: Tom Lane, Michael Paquier
Discussion: http://postgr.es/m/CANP8+j+vvXmruL_i2buvdhMeVv5TQu0Hm2+C5N+kdVwHJuor8w@mail.gmail.com
2017-04-27 14:41:22 +02:00
..
amapi.h Add optimizer and executor support for parallel index scans. 2017-02-15 13:53:24 -05:00
amvalidate.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
attnum.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
brin_internal.h Allow index AMs to cache data across aminsert calls within a SQL command. 2017-02-09 11:52:12 -05:00
brin_page.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
brin_pageops.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
brin_revmap.h BRIN de-summarization 2017-04-01 16:10:04 -03:00
brin_tuple.h Reduce the number of pallocs() in BRIN 2017-04-07 19:08:43 -03:00
brin_xlog.h Fix new BRIN desummarize WAL record 2017-04-07 17:11:56 -03:00
brin.h Fix BRIN cost estimation 2017-04-06 17:51:53 -03:00
bufmask.h Remove inclusion of postgres.h from a few header files. 2017-03-08 08:18:12 -05:00
clog.h Track the oldest XID that can be safely looked up in CLOG. 2017-03-23 14:26:31 -04:00
commit_ts.h Fix race condition in reading commit timestamps 2017-01-19 18:24:17 -03:00
genam.h Allow index AMs to cache data across aminsert calls within a SQL command. 2017-02-09 11:52:12 -05:00
generic_xlog.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
gin_private.h Fix mixup of bool and ternary value 2017-04-06 13:09:42 -04:00
gin.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
ginblock.h Remove direct uses of ItemPointer.{ip_blkid,ip_posid} 2017-03-28 19:02:23 -03:00
ginxlog.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
gist_private.h Allow index AMs to return either HeapTuple or IndexTuple format during IOS. 2017-02-27 17:20:34 -05:00
gist.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
gistscan.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
gistxlog.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
hash_xlog.h Still more code review for single-page hash vacuuming. 2017-03-27 12:51:10 -04:00
hash.h Clean up manipulations of hash indexes' hasho_flag field. 2017-04-14 17:04:25 -04:00
heapam_xlog.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
heapam.h Support parallel bitmap heap scans. 2017-03-08 12:05:43 -05:00
hio.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
htup_details.h Fix erroneous cross-reference in comment. 2017-04-15 14:22:26 -04:00
htup.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
itup.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
multixact.h Make logging about multixact wraparound protection less chatty. 2017-03-14 12:47:53 -04:00
nbtree.h pageinspect: Add bt_page_items function with bytea argument 2017-04-04 23:52:55 -04:00
nbtxlog.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
parallel.h Avoid passing function pointers across process boundaries. 2017-04-14 23:50:16 -04:00
printsimple.h Add a new DestReceiver for printing tuples without catalog access. 2017-01-24 16:53:56 -05:00
printtup.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
reloptions.h Don't allocate storage for partitioned tables. 2017-03-31 16:28:51 -04:00
relscan.h Allow index AMs to return either HeapTuple or IndexTuple format during IOS. 2017-02-27 17:20:34 -05:00
rewriteheap.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
rmgr.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
rmgrlist.h hash: Support WAL consistency checking. 2017-03-14 14:58:56 -04:00
sdir.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
skey.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
slru.h Rename "pg_clog" directory to "pg_xact". 2017-03-17 09:48:38 -04:00
spgist_private.h Allow index AMs to return either HeapTuple or IndexTuple format during IOS. 2017-02-27 17:20:34 -05:00
spgist.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
spgxlog.h Split index xlog headers from other private index headers. 2017-02-14 15:37:59 -05:00
stratnum.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
subtrans.h Rework handling of subtransactions in 2PC recovery 2017-04-27 14:41:22 +02:00
sysattr.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
timeline.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
transam.h Track the oldest XID that can be safely looked up in CLOG. 2017-03-23 14:26:31 -04:00
tsmapi.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tupconvert.h Fix ALTER TABLE / SET TYPE for irregular inheritance 2017-01-09 19:26:58 -03:00
tupdesc.h Add a SHOW command to the replication command language. 2017-01-24 17:04:12 -05:00
tupmacs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tuptoaster.h Improve performance of ExecEvalWholeRowVar. 2017-03-26 19:14:57 -04:00
twophase_rmgr.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
twophase.h Rework handling of subtransactions in 2PC recovery 2017-04-27 14:41:22 +02:00
valid.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
visibilitymap.h Fix typos in comments. 2017-02-06 11:33:58 +02:00
xact.h Improve performance of replay of AccessExclusiveLocks 2017-03-22 13:09:36 +00:00
xlog_internal.h Track the oldest XID that can be safely looked up in CLOG. 2017-03-23 14:26:31 -04:00
xlog.h Make min_wal_size/max_wal_size use MB internally 2017-04-04 18:00:01 -04:00
xlogdefs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
xloginsert.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
xlogreader.h Teach xlogreader to follow timeline switches 2017-03-22 07:05:12 +00:00
xlogrecord.h Add WAL consistency checking facility. 2017-02-08 15:45:30 -05:00
xlogutils.h Teach xlogreader to follow timeline switches 2017-03-22 07:05:12 +00:00