git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 989be08) | patch
Generic Messages for Logical Decoding
Wed, 6 Apr 2016 09:05:41 +0000 (10:05 +0100)
Wed, 6 Apr 2016 09:05:41 +0000 (10:05 +0100)
commit 3fe3511d05127cc024b221040db2eeb352e7d716
Generic Messages for Logical Decoding

API and mechanism to allow generic messages to be inserted into WAL that are
intended to be read by logical decoding plugins. This commit adds an optional
new callback to the logical decoding API.

Messages are either text or bytea. Messages can be transactional, or not, and
are identified by a prefix to allow multiple concurrent decoding plugins.

(Not to be confused with Generic WAL records, which are intended to allow crash
recovery of extensible objects.)

Author: Petr Jelinek and Andres Freund
Reviewers: Artur Zakirov, Tomas Vondra, Simon Riggs
Discussion: 5685F999.6010202@2ndquadrant.com
27 files changed:
contrib/test_decoding/Makefile diff | blob | blame | history
contrib/test_decoding/expected/ddl.out diff | blob | blame | history
contrib/test_decoding/expected/messages.out [new file with mode: 0644] blob
contrib/test_decoding/sql/ddl.sql diff | blob | blame | history
contrib/test_decoding/sql/messages.sql [new file with mode: 0644] blob
contrib/test_decoding/test_decoding.c diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
doc/src/sgml/logicaldecoding.sgml diff | blob | blame | history
src/backend/access/rmgrdesc/Makefile diff | blob | blame | history
src/backend/access/rmgrdesc/logicalmsgdesc.c [new file with mode: 0644] blob
src/backend/access/transam/rmgr.c diff | blob | blame | history
src/backend/replication/logical/Makefile diff | blob | blame | history
src/backend/replication/logical/decode.c diff | blob | blame | history
src/backend/replication/logical/logical.c diff | blob | blame | history
src/backend/replication/logical/logicalfuncs.c diff | blob | blame | history
src/backend/replication/logical/message.c [new file with mode: 0644] blob
src/backend/replication/logical/reorderbuffer.c diff | blob | blame | history
src/backend/replication/logical/snapbuild.c diff | blob | blame | history
src/bin/pg_xlogdump/.gitignore diff | blob | blame | history
src/bin/pg_xlogdump/rmgrdesc.c diff | blob | blame | history
src/include/access/rmgrlist.h diff | blob | blame | history
src/include/catalog/pg_proc.h diff | blob | blame | history
src/include/replication/logicalfuncs.h diff | blob | blame | history
src/include/replication/message.h [new file with mode: 0644] blob
src/include/replication/output_plugin.h diff | blob | blame | history
src/include/replication/reorderbuffer.h diff | blob | blame | history
src/include/replication/snapbuild.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /