pg_basebackup skips pg_replslot directory

Поиск
Список
Период
Сортировка
От Sawada Masahiko
Тема pg_basebackup skips pg_replslot directory
Дата
Msg-id CAD21AoDt3G7YPoVjNoL4vjgdko7DaXJsgLiYkGWW0g3eyptg0g@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_basebackup skips pg_replslot directory  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Hi all,

I found strange behavior of PostgreSQL of HEAD while using pg_basebackup.
pg_basebackup skips pg_replslot directory since
858ec11858a914d4c380971985709b6d6b7dd6fc commit.

But pg_repslot direcotry is needed to start replication. So the
standby server which is created by
pg_baseback can not start.
I got following FATAL error when the standby server starts.

FATAL:  could not open directory "pg_replslot": No such file or directory

Is this a bug?
Attached file solves it by including pg_replslot directory as empty directory.

Please give feedback.


Regards,

-------
Sawada Masahiko

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pg_basebackup skips pg_replslot directory