From: | Sawada Masahiko <sawada(dot)mshk(at)gmail(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | pg_basebackup skips pg_replslot directory |
Date: | 2014-02-17 17:01:58 |
Message-ID: | CAD21AoDt3G7YPoVjNoL4vjgdko7DaXJsgLiYkGWW0g3eyptg0g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
basebackup_pg_replslot.patch | application/octet-stream | 1.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2014-02-17 17:07:22 | Re: pg_basebackup skips pg_replslot directory |
Previous Message | Bruce Momjian | 2014-02-17 16:51:34 | Re: Ctrl+C from sh can shut down daemonized PostgreSQL cluster |