public inbox for [email protected]
help / color / mirror / Atom feedFrom: Wells Oliver <[email protected]>
To: Tom Lane <[email protected]>
Cc: pgsql-admin <[email protected]>
Subject: Re: pg_restore and materialized view deps
Date: Fri, 6 Sep 2024 18:41:22 -0700
Message-ID: <CAOC+FBWOTSi3DXHBjWdBrVpYOKTrf+aQ5N32BMDwJM3uKgfGXw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAOC+FBUas6PnmOpo1uUXwyV5a_==m6cPx-iVyDL3xDKeiqc1Kg@mail.gmail.com>
<[email protected]>
Ah, you know, a little deeper: it's an issue with a mat view unable to
refresh because it uses a function, and within that function, there is a
call to a mat view not yet materialized.
On Fri, Sep 6, 2024 at 6:33 PM Tom Lane <[email protected]> wrote:
> Wells Oliver <[email protected]> writes:
> > Not the end of the world but I notice when running pg_restore that I
> > encounter a few errors where materialized views cannot be refreshed
> because
> > they query other materialized views not yet refreshed.
>
> Oh? There are dependencies that are supposed to prevent that.
> Can you provide a self-contained example of a schema where
> that doesn't work?
>
> regards, tom lane
>
--
Wells Oliver
[email protected] <[email protected]>
view thread (4+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pg_restore and materialized view deps
In-Reply-To: <CAOC+FBWOTSi3DXHBjWdBrVpYOKTrf+aQ5N32BMDwJM3uKgfGXw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox