From: Erik Wienhold <ewie@ewie.name>
To: mark.meeus@gmail.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: Wrong statement on the materialized views page
Date: Mon, 21 Aug 2023 10:37:02 +0200 (CEST)
Message-ID: <1300044510.104825.1692607022369@office.mailbox.org> (raw)
In-Reply-To: <169260135718.628.3175598120953717107@wrigleys.postgresql.org>
References: <169260135718.628.3175598120953717107@wrigleys.postgresql.org>
> 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
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: pgsql-docs@postgresql.org
Cc: ewie@ewie.name, mark.meeus@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: Wrong statement on the materialized views page
In-Reply-To: <1300044510.104825.1692607022369@office.mailbox.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox