postgresql/src/include/replication
Robert Haas 5a991ef869 Allow logical decoding via the walsender interface.
In order for this to work, walsenders need the optional ability to
connect to a database, so the "replication" keyword now allows true
or false, for backward-compatibility, and the new value "database"
(which causes the "dbname" parameter to be respected).

walsender needs to loop not only when idle but also when sending
decoded data to the user and when waiting for more xlog data to decode.
This means that there are now three separate loops inside walsender.c;
although some refactoring has been done here, this is still a bit ugly.

Andres Freund, with contributions from Álvaro Herrera, and further
review by me.
2014-03-10 13:50:28 -04:00
..
basebackup.h Allow BASE_BACKUP to be throttled 2014-02-27 18:55:57 -03:00
decode.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
logical.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
logicalfuncs.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
output_plugin.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
reorderbuffer.h Remove unportable use of anonymous unions from reorderbuffer.h. 2014-03-07 17:03:26 -05:00
slot.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
snapbuild.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
syncrep.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
walreceiver.h Introduce replication slots. 2014-01-31 22:45:36 -05:00
walsender.h Allow logical decoding via the walsender interface. 2014-03-10 13:50:28 -04:00
walsender_private.h Update copyright for 2014 2014-01-07 16:05:30 -05:00