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

From Mark Meeus
Subject Re: Wrong statement on the materialized views page
Date
Msg-id CAJRpiZ5mhj2EPxQ5P7OmzBgqLQiSJVXm8vsu90kuttZWm0KyDQ@mail.gmail.com
Whole thread Raw
In response to Re: Wrong statement on the materialized views page  (Erik Wienhold <ewie@ewie.name>)
List pgsql-docs
Ah yes, I understand it now. The surrounding text had me confused. Thanks.

Mark


On Mon, Aug 21, 2023 at 10:37 AM Erik Wienhold <ewie@ewie.name> wrote:
> 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: Erik Wienhold
Date:
Subject: Re: Wrong statement on the materialized views page
Next
From: Daniel Gustafsson
Date:
Subject: Re: Include PostgresNIO Swift client in the Documentation