Re: BUG #18666: Standby cluster does not start after building from Primary cluster.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: andrew(dot)lozovsky(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18666: Standby cluster does not start after building from Primary cluster.
Date: 2024-10-21 14:20:12
Message-ID: 1551043.1729520412@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> Standby cluster does not start after building from Primary cluster.

I think your archiving setup is broken:

> archive_command = 'cp %p /dev/null'
> ...
> restore_command = 'cp /opt/archivelog/%f %p'

BTW, "cp" is widely regarded as not being safe enough for production
archiving, because it doesn't fsync. But this archive_command
isn't even trying. So it's not surprising if there's not enough WAL
to recover from.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2024-10-21 14:51:17 Re: pg_ident.conf + regular expressions issue
Previous Message David G. Johnston 2024-10-21 12:53:54 Re: BUG #18667: Default Permission Role Group