]> granicus.if.org Git - postgresql/commit
Add support for temporary replication slots
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 8 Dec 2016 17:00:00 +0000 (12:00 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 12 Dec 2016 13:38:17 +0000 (08:38 -0500)
commita924c327e2793d2025b19e18de7917110dc8afd8
tree2a81b0fd87cf4efb98a9a05aa3c27e8c8767bba3
parente7f051b8f9a6341f6d3bf80b29c1dbc1837be9ab
Add support for temporary replication slots

This allows creating temporary replication slots that are removed
automatically at the end of the session or on error.

From: Petr Jelinek <petr.jelinek@2ndquadrant.com>
18 files changed:
contrib/test_decoding/Makefile
contrib/test_decoding/expected/ddl.out
contrib/test_decoding/expected/slot.out [new file with mode: 0644]
contrib/test_decoding/sql/slot.sql [new file with mode: 0644]
doc/src/sgml/func.sgml
doc/src/sgml/protocol.sgml
src/backend/catalog/system_views.sql
src/backend/replication/repl_gram.y
src/backend/replication/repl_scanner.l
src/backend/replication/slot.c
src/backend/replication/slotfuncs.c
src/backend/replication/walsender.c
src/backend/storage/lmgr/proc.c
src/backend/tcop/postgres.c
src/include/catalog/pg_proc.h
src/include/nodes/replnodes.h
src/include/replication/slot.h
src/test/regress/expected/rules.out