Re: Wrong statement on the materialized views page - Mailing list pgsql-docs

From Erik Wienhold
Subject Re: Wrong statement on the materialized views page
Date
Msg-id 1300044510.104825.1692607022369@office.mailbox.org
Whole thread Raw
In response to Wrong statement on the materialized views page  (PG Doc comments form <noreply@postgresql.org>)
Responses Re: Wrong statement on the materialized views page
List pgsql-docs
> On 21/08/2023 09:02 CEST PG Doc comments form <noreply@postgresql.org> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/15/rules-materializedviews.html
> Description:
>
> There might be an issue on this page:
> https://www.postgresql.org/docs/current/rules-materializedviews.html
>
> I think the statement 
> CREATE TABLE mymatview AS SELECT * FROM mytab;
> should actuall be
> CREATE VIEW mymatview AS SELECT * FROM mytab;

No, CREATE TABLE is correct in this case because that section is about the
persistence of matview results like a table.

--
Erik



pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Wrong statement on the materialized views page
Next
From: Mark Meeus
Date:
Subject: Re: Wrong statement on the materialized views page