public inbox for [email protected]  
help / color / mirror / Atom feed
From: Edwin UY <[email protected]>
To: [email protected]
Subject: Logical replication - SELECT * FROM pg_logical_slot_get_changes
Date: Thu, 19 Dec 2024 12:01:48 +1300
Message-ID: <CA+wokJ8dYUampK3_sxNg1RwCJ-cLWfqbSqALU4EJVt74eQr+8A@mail.gmail.com> (raw)

Hi,

Just curious, what is the impact of running these and under  what scenario
would you necessarily run them?

SELECT * FROM pg_logical_slot_get_changes('fivetran_replication_slot',
NULL, NULL, 'stream-changes', '1');
SELECT * FROM pg_logical_slot_get_changes('fivetran_replication_slot',
NULL, NULL, 'include-xids', '0');

Can you actually run this to tell logical replication to start/reset
replicating from when?

Regards,
Ed


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Logical replication - SELECT * FROM pg_logical_slot_get_changes
  In-Reply-To: <CA+wokJ8dYUampK3_sxNg1RwCJ-cLWfqbSqALU4EJVt74eQr+8A@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox