pgsql: Optionally don't error out due to preexisting slots in commandli
В списке pgsql-committers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | pgsql: Optionally don't error out due to preexisting slots in commandli |
| Дата | |
| Msg-id | E1ZENgx-0001vB-9T@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
Optionally don't error out due to preexisting slots in commandline utilities. pg_receivexlog and pg_recvlogical error out when --create-slot is specified and a slot with the same name already exists. In some cases, especially with pg_receivexlog, that's rather annoying and requires additional scripting. Backpatch to 9.5 as slot control functions have newly been added to pg_receivexlog, and there doesn't seem much point leaving it in a less useful state. Discussion: 20150619144755.GG29350@alap3.anarazel.de Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/0e8e48b0da6ea00f3dbcb659542b0c81a97d1253 Modified Files -------------- doc/src/sgml/ref/pg_receivexlog.sgml | 10 ++++++++ doc/src/sgml/ref/pg_recvlogical.sgml | 10 ++++++++ src/bin/pg_basebackup/pg_receivexlog.c | 11 ++++++-- src/bin/pg_basebackup/pg_recvlogical.c | 9 ++++++- src/bin/pg_basebackup/streamutil.c | 44 ++++++++++++++------------------ src/bin/pg_basebackup/streamutil.h | 4 +-- 6 files changed, 58 insertions(+), 30 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера