Re: Wrong statement on the materialized views page

From: Mark Meeus <mark(dot)meeus(at)gmail(dot)com>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Wrong statement on the materialized views page
Date: 2023-08-21 09:29:50
Message-ID: CAJRpiZ5mhj2EPxQ5P7OmzBgqLQiSJVXm8vsu90kuttZWm0KyDQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)ewie(dot)name> wrote:

> > On 21/08/2023 09:02 CEST PG Doc comments form <noreply(at)postgresql(dot)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
>

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2023-08-21 11:58:05 Re: Include PostgresNIO Swift client in the Documentation
Previous Message Erik Wienhold 2023-08-21 08:37:02 Re: Wrong statement on the materialized views page