postgresql/src/include/replication
Andres Freund 6fcd88511f Allow pg_create_physical_replication_slot() to reserve WAL.
When creating a physical slot it's often useful to immediately reserve
the current WAL position instead of only doing after the first feedback
message arrives. That e.g. allows slots to guarantee that all the WAL
for a base backup will be available afterwards.

Logical slots already have to reserve WAL during creation, so generalize
that logic into being usable for both physical and logical slots.

Catversion bump because of the new parameter.

Author: Gurjeet Singh
Reviewed-By: Andres Freund
Discussion: CABwTF4Wh_dBCzTU=49pFXR6coR4NW1ynb+vBqT+Po=7fuq5iCw@mail.gmail.com
2015-08-11 12:34:31 +02:00
..
basebackup.h Map basebackup tablespaces using a tablespace_map file 2015-05-12 09:29:10 -04:00
decode.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
logical.h Introduce replication progress tracking infrastructure. 2015-04-29 19:30:53 +02:00
logicalfuncs.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
origin.h Improve includes introduced in the replication origins patch. 2015-08-06 12:41:46 +02:00
output_plugin.h pgindent run for 9.5 2015-05-23 21:35:49 -04:00
reorderbuffer.h pgindent run for 9.5 2015-05-23 21:35:49 -04:00
slot.h Allow pg_create_physical_replication_slot() to reserve WAL. 2015-08-11 12:34:31 +02:00
snapbuild.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
syncrep.h Make SyncRepWakeQueue to a static function 2015-03-26 10:34:08 +09:00
walreceiver.h Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
walsender_private.h Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
walsender.h pgindent run for 9.5 2015-05-23 21:35:49 -04:00