pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Shaheed Haque <shaheedhaque@gmail.com>
Cc: Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
Cc: postgre <pgsql-general@lists.postgresql.org>
Subject: Re: Scriptable way to validate a pg_dump restore ?
Date: Mon, 29 Jan 2024 09:57:00 -0800
Message-ID: <7ad098f4-9844-4051-b100-8d3e2292be59@aklaver.com> (raw)
In-Reply-To: <CAHAc2jfmPh1u1hpw2dNS+VcLQsapAU9D6sdSf1FDS5WgF-Wvpg@mail.gmail.com>
References: <kvT0Fu6tCy1S4kBbdka9EPDXqE4fV45KEfNB8zV5Kk82XzJ2cnhDDm60k_0KHm5MqzqdjoilVIvk76R_WjnHJYbLKDpaPdfMMJVPnebTQjA=@protonmail.ch>
	<e0fa9915-9356-45e6-891f-d24b6a274e7e@aklaver.com>
	<CAHAc2jfmPh1u1hpw2dNS+VcLQsapAU9D6sdSf1FDS5WgF-Wvpg@mail.gmail.com>

On 1/29/24 09:28, Shaheed Haque wrote:


> 
> Right, for me, state, not just record count is what I'm interested in 
> (for the initial full table copy part of replication). So, given the 
> explanation about the possible per-table window, is there some property 
> of the table that could be used to confirm that a table has made it across?
> 
> I guess there is such a thing since the following incremental syncing 
> would presumably need it. I had hoped the LSN was this thing, but 
> confirmation would be great.

The OP was referring to the pg_dump/pg_restore cycle, you seem to be 
referring to logical replication. Is that correct?

> 
> Thanks, Shaheed
> 
> 
>      >
>      > Thanks !
>      >
>      > Laura
>      >
>      >
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (13+ messages)  latest in thread

Message-ID: <7ad098f4-9844-4051-b100-8d3e2292be59@aklaver.com>
Permalink:  ../7ad098f4-9844-4051-b100-8d3e2292be59@aklaver.com/
Also on:    postgresql.org/message-id/7ad098f4-9844-4051-b100-8d3e2292be59@aklaver.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, shaheedhaque@gmail.com, n5d9xq3ti233xiyif2vp@protonmail.ch
  Subject: Re: Scriptable way to validate a pg_dump restore ?
  In-Reply-To: <7ad098f4-9844-4051-b100-8d3e2292be59@aklaver.com>
  References: <kvT0Fu6tCy1S4kBbdka9EPDXqE4fV45KEfNB8zV5Kk82XzJ2cnhDDm60k_0KHm5MqzqdjoilVIvk76R_WjnHJYbLKDpaPdfMMJVPnebTQjA=@protonmail.ch> <e0fa9915-9356-45e6-891f-d24b6a274e7e@aklaver.com> <CAHAc2jfmPh1u1hpw2dNS+VcLQsapAU9D6sdSf1FDS5WgF-Wvpg@mail.gmail.com> <7ad098f4-9844-4051-b100-8d3e2292be59@aklaver.com>

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

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