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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 59597e6) | patch
pg_basebackup: Add option to create replication slot
2017年9月26日 20:07:52 +0000 (16:07 -0400)
2017年9月27日 12:49:47 +0000 (08:49 -0400)
commit 3709ca1cf069cee24ef8000cb6a479813b5537df
pg_basebackup: Add option to create replication slot

When requesting a particular replication slot, the new pg_basebackup
option -C/--create-slot creates it before starting to replicate from it.

Further refactor the slot creation logic to include the temporary slot
creation logic into the same function. Add new arguments is_temporary
and preserve_wal to CreateReplicationSlot(). Print in --verbose mode
that a slot has been created.

Author: Michael Banck <michael.banck@credativ.de>
doc/src/sgml/ref/pg_basebackup.sgml diff | blob | blame | history
src/bin/pg_basebackup/pg_basebackup.c diff | blob | blame | history
src/bin/pg_basebackup/pg_receivewal.c diff | blob | blame | history
src/bin/pg_basebackup/pg_recvlogical.c diff | blob | blame | history
src/bin/pg_basebackup/receivelog.c diff | blob | blame | history
src/bin/pg_basebackup/receivelog.h 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/bin/pg_basebackup/t/010_pg_basebackup.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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