postgresql/src/include
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
..
access Add new replication mode synchronous_commit = 'remote_apply'. 2016-03-29 21:29:49 -04:00
bootstrap Update copyright for 2016 2016-01-02 13:33:40 -05:00
catalog Allow to_timestamp(float8) to convert float infinity to timestamp infinity. 2016-03-29 17:09:29 -04:00
commands Support CREATE ACCESS METHOD 2016-03-23 23:01:35 -03:00
common Avoid PGDLLIMPORT for simple local references in frontend programs. 2016-03-23 23:26:44 -04:00
datatype Be more careful about out-of-range dates and timestamps. 2016-03-16 19:09:28 -04:00
executor Rework custom scans to work more like the new extensible node stuff. 2016-03-29 11:28:04 -04:00
fe_utils Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
foreign Don't require a user mapping for FDWs to work. 2016-03-28 21:50:28 -04:00
lib Add two HyperLogLog functions 2016-01-19 17:40:15 -03:00
libpq Properly declare FeBeWaitSet. 2016-03-21 12:58:18 +01:00
mb Update copyright for 2016 2016-01-02 13:33:40 -05:00
nodes Allow aggregate transition states to be serialized and deserialized. 2016-03-29 15:04:05 -04:00
optimizer Allow aggregate transition states to be serialized and deserialized. 2016-03-29 15:04:05 -04:00
parser Allow aggregate transition states to be serialized and deserialized. 2016-03-29 15:04:05 -04:00
port Call xlc __isync() after, not before, associated compare-and-swap. 2016-02-19 22:47:50 -05:00
portability Update copyright for 2016 2016-01-02 13:33:40 -05:00
postmaster Allow the WAL writer to flush WAL at a reduced rate. 2016-02-16 00:56:34 +01:00
regex Suppress compiler warnings about useless comparison of unsigned to zero. 2016-02-15 17:12:16 -05:00
replication Add new replication mode synchronous_commit = 'remote_apply'. 2016-03-29 21:29:49 -04:00
rewrite Update copyright for 2016 2016-01-02 13:33:40 -05:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Introduce WaitEventSet API. 2016-03-21 12:22:54 +01:00
tcop Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
tsearch Improve support of Hunspell 2016-03-17 17:23:38 +03:00
utils Allow to_timestamp(float8) to convert float infinity to timestamp infinity. 2016-03-29 17:09:29 -04:00
.gitignore Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
c.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
fmgr.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
funcapi.h Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
getaddrinfo.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
getopt_long.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
Makefile Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
miscadmin.h Add idle_in_transaction_session_timeout. 2016-03-16 11:30:45 -04:00
pg_config.h.in Introduce WaitEventSet API. 2016-03-21 12:22:54 +01:00
pg_config.h.win32 Cope if platform declares mbstowcs_l(), but not locale_t, in <xlocale.h>. 2016-03-15 13:19:57 -04:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_ext.h.win32 Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Change the way that LWLocks for extensions are allocated. 2016-02-04 16:43:04 -05:00
pg_getopt.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pg_trace.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pgstat.h Add simple VACUUM progress reporting. 2016-03-15 13:32:56 -04:00
pgtar.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pgtime.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
port.h On all Windows platforms, not just Cygwin, use _timezone and _tzname. 2016-03-28 20:59:25 -04:00
postgres.h Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
postgres_ext.h pgindent run for 9.4 2014-05-06 12:12:18 -04:00
postgres_fe.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
rusagestub.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
windowapi.h Update copyright for 2016 2016-01-02 13:33:40 -05:00