postgresql/contrib/test_decoding
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
..
expected Add 'active_in' column to pg_replication_slots. 2015-04-21 11:51:06 +02:00
specs Fix several weaknesses in slot and logical replication on-disk serialization. 2014-11-12 18:52:49 +01:00
sql Don't skip SQL backends in logical decoding for visibility computation. 2014-12-02 23:47:08 +01:00
.gitignore test_decoding: Update .gitignore 2014-03-31 14:18:35 -04:00
logical.conf Introduce logical decoding. 2014-03-03 16:32:18 -05:00
Makefile Fix and improve cache invalidation logic for logical decoding. 2014-11-13 20:34:31 +01:00
test_decoding.c Update copyright for 2015 2015-01-06 11:43:47 -05:00