Re: crosstab documentation should add a note about use in materialized views

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: robrwo(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: crosstab documentation should add a note about use in materialized views
Date: 2022-11-22 21:28:10
Message-ID: Y30+6uiZANO7iZkW@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Oct 18, 2022 at 08:30:13AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/15/tablefunc.html
> Description:
>
> When using a crosstab in a materialized view, if the SQL is not qualified
> with a schema, that restoring a database from a dump may fail. See the
> discussion in
> https://www.postgresql.org/message-id/16202-b6b345c9d2819409%40postgresql.org

I am trying to understand the scope of this breakage. I think it is
because crosstab specifies queries as strings, and a materialized view
has to run the query during restore to populate the materialized view.
Is this the only combination of pg_dump restore breakage?

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Indecision is a decision. Inaction is an action. Mark Batterson

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2022-11-22 21:35:52 Re: crosstab documentation should add a note about use in materialized views
Previous Message Bruce Momjian 2022-11-22 19:10:11 Re: nextval parameter is not clear