pg_basebackup skips pg_replslot directory - Mailing list pgsql-hackers

From Sawada Masahiko
Subject pg_basebackup skips pg_replslot directory
Date
Msg-id CAD21AoDt3G7YPoVjNoL4vjgdko7DaXJsgLiYkGWW0g3eyptg0g@mail.gmail.com
Whole thread Raw
Responses Re: pg_basebackup skips pg_replslot directory  (Andres Freund <andres@2ndquadrant.com>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster
Next
From: Andres Freund
Date:
Subject: Re: pg_basebackup skips pg_replslot directory