Search Postgresql Archives

Re: Scriptable way to validate a pg_dump restore ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/29/24 10:12, Shaheed Haque wrote:



Yes. But I was under the impression that the initial copy of logical replication was the same?


Are you taking about the copy_data option to WITH?

If so yes and no.

Yes as it uses COPY to transfer the data.

No as what COPY transfers can be affected by WHERE clauses on the publisher. Also if you have cascading publishers/subscriptions the 'original' data maybe upstream of the publisher you are comparing to. Finally logical replication is generally not static so there is the issue of determining a point in time for the check.

--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux