postgresql/src/backend/access
Robert Haas 314cbfc5da Add new replication mode synchronous_commit = 'remote_apply'.
In this mode, the master waits for the transaction to be applied on
the remote side, not just written to disk.  That means that you can
count on a transaction started on the standby to see all commits
previously acknowledged by the master.

To make this work, the standby sends a reply after replaying each
commit record generated with synchronous_commit >= 'remote_apply'.
This introduces a small inefficiency: the extra replies will be sent
even by standbys that aren't the current synchronous standby.  But
previously-existing synchronous_commit levels make no attempt at all
to optimize which replies are sent based on what the primary cares
about, so this is no worse, and at least avoids any extra replies for
people not using the feature at all.

Thomas Munro, reviewed by Michael Paquier and by me.  Some additional
tweaks by me.
2016-03-29 21:29:49 -04:00
..
brin Improve index AMs' opclass validation procedures. 2016-01-21 19:47:15 -05:00
common Reduce lock level for altering fillfactor 2016-03-10 12:07:33 +00:00
gin Fix memory leak in repeated GIN index searches. 2016-03-13 16:44:31 -04:00
gist Fix lossy KNN GiST when ordering operator returns non-float8 value. 2016-02-02 15:20:33 +03:00
hash Improve ResourceOwners' behavior for large numbers of owned objects. 2016-01-26 15:20:30 -05:00
heap Department of second thoughts: remove PD_ALL_FROZEN. 2016-03-08 08:46:48 -05:00
index Support CREATE ACCESS METHOD 2016-03-23 23:01:35 -03:00
nbtree Fix incorrect handling of NULL index entries in indexed ROW() comparisons. 2016-03-09 14:51:22 -05:00
rmgrdesc Merge wal_level "archive" and "hot_standby" into new name "replica" 2016-03-18 23:56:03 +01:00
spgist Suppress compiler warning. 2016-01-21 21:14:07 -05:00
tablesample Update copyright for 2016 2016-01-02 13:33:40 -05:00
transam Add new replication mode synchronous_commit = 'remote_apply'. 2016-03-29 21:29:49 -04:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00