Thread: Logical replication from standby server

Logical replication from standby server

From
Yambu
Date:
Hi

Is it possible to setup logical replication with a hot standby server being the publisher?

regards

Re: Logical replication from standby server

From
Laurenz Albe
Date:
On Mon, 2020-12-14 at 10:47 +0200, Yambu wrote:
> Is it possible to setup logical replication with a hot standby server being the publisher?

No:
ERROR:  could not create replication slot "sub": ERROR:  logical decoding cannot be used while in recovery

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com