Re: Scriptable way to validate a pg_dump restore ?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Scriptable way to validate a pg_dump restore ?
Дата
Msg-id ce54a2b0-dbbc-4915-b5d6-63839092d399@aklaver.com
обсуждение исходный текст
Ответ на Scriptable way to validate a pg_dump restore ?  (Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>)
Ответы Re: Scriptable way to validate a pg_dump restore ?
Список pgsql-general
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@aklaver.com




В списке pgsql-general по дате отправления:

Предыдущее
От: Bob Jolliffe
Дата:
Сообщение: Re: Query performance in 9.6.24 vs 14.10
Следующее
От: Laura Smith
Дата:
Сообщение: Re: Scriptable way to validate a pg_dump restore ?