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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5bdef38) | patch
Introduce replication slots.
Sat, 1 Feb 2014 03:45:17 +0000 (22:45 -0500)
Sat, 1 Feb 2014 03:45:36 +0000 (22:45 -0500)
commit 858ec11858a914d4c380971985709b6d6b7dd6fc
Introduce replication slots.

Replication slots are a crash-safe data structure which can be created
on either a master or a standby to prevent premature removal of
write-ahead log segments needed by a standby, as well as (with
hot_standby_feedback=on) pruning of tuples whose removal would cause
replication conflicts. Slots have some advantages over existing
techniques, as explained in the documentation.

In a few places, we refer to the type of replication slots introduced
by this patch as "physical" slots, because forthcoming patches for
logical decoding will also have slots, but with somewhat different
properties.

Andres Freund and Robert Haas
42 files changed:
doc/src/sgml/catalogs.sgml diff | blob | blame | history
doc/src/sgml/config.sgml diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
doc/src/sgml/high-availability.sgml diff | blob | blame | history
doc/src/sgml/protocol.sgml diff | blob | blame | history
doc/src/sgml/recovery-config.sgml diff | blob | blame | history
doc/src/sgml/ref/pg_receivexlog.sgml diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/catalog/system_views.sql diff | blob | blame | history
src/backend/replication/Makefile diff | blob | blame | history
src/backend/replication/README diff | blob | blame | history
src/backend/replication/basebackup.c diff | blob | blame | history
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c diff | blob | blame | history
src/backend/replication/repl_gram.y diff | blob | blame | history
src/backend/replication/repl_scanner.l diff | blob | blame | history
src/backend/replication/slot.c [new file with mode: 0644] blob
src/backend/replication/slotfuncs.c [new file with mode: 0644] blob
src/backend/replication/walreceiver.c diff | blob | blame | history
src/backend/replication/walreceiverfuncs.c diff | blob | blame | history
src/backend/replication/walsender.c diff | blob | blame | history
src/backend/storage/ipc/ipci.c diff | blob | blame | history
src/backend/storage/ipc/procarray.c diff | blob | blame | history
src/backend/storage/lmgr/lwlock.c diff | blob | blame | history
src/backend/storage/lmgr/proc.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/backend/utils/misc/postgresql.conf.sample diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/pg_basebackup/pg_receivexlog.c diff | blob | blame | history
src/bin/pg_basebackup/receivelog.c diff | blob | blame | history
src/bin/pg_basebackup/streamutil.c diff | blob | blame | history
src/bin/pg_basebackup/streamutil.h diff | blob | blame | history
src/include/access/xlog.h diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_proc.h diff | blob | blame | history
src/include/nodes/nodes.h diff | blob | blame | history
src/include/nodes/replnodes.h diff | blob | blame | history
src/include/replication/slot.h [new file with mode: 0644] blob
src/include/replication/walreceiver.h diff | blob | blame | history
src/include/storage/lwlock.h diff | blob | blame | history
src/include/storage/procarray.h diff | blob | blame | history
src/test/regress/expected/rules.out diff | blob | blame | history
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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