Re: crosstab documentation should add a note about use in materialized views - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: crosstab documentation should add a note about use in materialized views
Date
Msg-id Y30+6uiZANO7iZkW@momjian.us
Whole thread Raw
In response to crosstab documentation should add a note about use in materialized views  (PG Doc comments form <noreply@postgresql.org>)
Responses Re: crosstab documentation should add a note about use in materialized views  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

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




pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: nextval parameter is not clear
Next
From: Tom Lane
Date:
Subject: Re: crosstab documentation should add a note about use in materialized views