postgresql/src/include/replication
Andres Freund d811c037ce Add 'active_in' column to pg_replication_slots.
Right now it is visible whether a replication slot is active in any
session, but not in which.  Adding the active_in column, containing the
pid of the backend having acquired the slot, makes it much easier to
associate pg_replication_slots entries with the corresponding
pg_stat_replication/pg_stat_activity row.

This should have been done from the start, but I (Andres) dropped the
ball there somehow.

Author: Craig Ringer, revised by me Discussion:
CAMsr+YFKgZca5_7_ouaMWxA5PneJC9LNViPzpDHusaPhU9pA7g@mail.gmail.com
2015-04-21 11:51:06 +02:00
..
basebackup.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
decode.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
logical.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
logicalfuncs.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
output_plugin.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
reorderbuffer.h Use FLEXIBLE_ARRAY_MEMBER for HeapTupleHeaderData.t_bits[]. 2015-02-21 15:13:06 -05:00
slot.h Add 'active_in' column to pg_replication_slots. 2015-04-21 11:51:06 +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 Update copyright for 2015 2015-01-06 11:43:47 -05:00