Re: Ignore heap rewrites for materialized views in logical replication - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: Ignore heap rewrites for materialized views in logical replication
Date
Msg-id 572b47ac-a0b0-41de-b2f5-2b29c71e64da@www.fastmail.com
Whole thread Raw
In response to Re: Ignore heap rewrites for materialized views in logical replication  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Ignore heap rewrites for materialized views in logical replication
List pgsql-hackers
On Tue, May 31, 2022, at 11:13 AM, Amit Kapila wrote:
I think we don't need the retry logical to check error, a simple
wait_for_caught_up should be sufficient as we are doing in other
tests. See attached. I have slightly modified the commit message as
well. Kindly let me know what you think?
Your modification will hang until the test timeout without the patch. That's
why I avoided to use wait_for_caught_up and used a loop for fast exit on success
or failure. I'm fine with a simple test case like you proposed.


--
Euler Taveira

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: PG15 beta1 sort performance regression due to Generation context change
Next
From: Tom Lane
Date:
Subject: Re: PG15 beta1 sort performance regression due to Generation context change