Re: How to find local logical replication origin?

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Jinhua Luo <luajit(dot)io(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: How to find local logical replication origin?
Date: 2018-09-10 06:30:16
Message-ID: 20180910063016.GF19122@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Sep 08, 2018 at 05:41:06PM +0800, Jinhua Luo wrote:
> What's the local logical replication origin, which could be used to
> filter local changes in the replication slot?

You are looking for that perhaps?
https://www.postgresql.org/docs/devel/static/replication-origins.html

After that there is no actual default origin set, hence you would need
to set it explicitely.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-09-10 06:44:54 Re: stat() on Windows might cause error if target file is larger than 4GB
Previous Message Amit Kapila 2018-09-10 06:24:50 Re: Problem while setting the fpw with SIGHUP