Re: [PATCH TEST] Fix logical replication setup in subscription test `t/009_matviews.pl` - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: [PATCH TEST] Fix logical replication setup in subscription test `t/009_matviews.pl`
Date
Msg-id CAA4eK1L_pDLpnguYpqqTF8obKKzHPFvqVHhgrVQvd5xM1djAnA@mail.gmail.com
Whole thread Raw
In response to RE: [PATCH TEST] Fix logical replication setup in subscription test `t/009_matviews.pl`  ("Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>)
Responses Re: [PATCH TEST] Fix logical replication setup in subscription test `t/009_matviews.pl`
List pgsql-hackers
On Sun, Oct 12, 2025 at 11:29 AM Hayato Kuroda (Fujitsu)
<kuroda.hayato@fujitsu.com> wrote:
>
> Dear Amit, Ashutosh,
>
> > Thanks for the analysis. I think we should go with the simple patch
> > proposed in this thread to improve this test and that too only for
> > HEAD.
>
> To confirm, are you suggesting something like attached? It initially creates MVs
> on both instances, then ensure REFRESH MATERIALIZED VIEW won't be replicated.
> It also fixed the issue reported by Грем.
>

What difference REFRESH will make instead of CREATE? I think it is
okay to just patch what is posted by the reporter in the first email
[1] in this thread.

[1]: https://www.postgresql.org/message-id/CANV9Qw5HD7%3DFp4nox2O7DoVctHoabRRVW9Soo4A%3DQipqW5B%3DTg%40mail.gmail.com

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: pgstattuple: Use streaming read API in pgstatindex functions
Next
From: "David G. Johnston"
Date:
Subject: Re: Improve docs for n_distinct_inherited