Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndH7D-0007df-W0 for pgsql-docs@arkaria.postgresql.org; Sat, 09 Apr 2022 19:51:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ndH7B-0000YY-Q3 for pgsql-docs@arkaria.postgresql.org; Sat, 09 Apr 2022 19:51:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndH7B-0000YP-G2 for pgsql-docs@lists.postgresql.org; Sat, 09 Apr 2022 19:51:21 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ndH79-0007zq-0Z for pgsql-docs@lists.postgresql.org; Sat, 09 Apr 2022 19:51:20 +0000 Received: by mail-ej1-x633.google.com with SMTP id l26so23505270ejx.1 for ; Sat, 09 Apr 2022 12:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=zuRiG/tjzjGAPkIssalUkX6DjZzYHBdRhrWh+vt26oc=; b=gUGoxWAacb+j9SNEBlRi1j9Te0h5xA7bOR3bTEhwWe6zCr5mEZpQ+fhOLzbDNSzxs4 mB3mwVoqeo2f/E/ToTbj3QlfYo1sy62V6gjVgQSdKekoYQu3rg5imfbLuKsg00U5FBBI bnk/nO4CeQe9OZPOIMnD8K4GYZKyIJWnSX4V18D6uVwsH9tJX79aIjkIWweo9SQZJf1G 0AnYWYFP/QefZBnGV6DomW7F/yP2pRAUSUMi5RzYuUb1aHSgb18uvSrRwuvxMKLv9jYr QUTlt/r9SGhPBV4+3VbqxT1vS49wG7FnV7t4n/+ybUpvIuKaQCUdbPG9Rp9nC34fbDDw VajA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=zuRiG/tjzjGAPkIssalUkX6DjZzYHBdRhrWh+vt26oc=; b=aGWPvP4hORIj09v10BnlijKBwQujc+73maRqrBf7BkZ2nMuyc0lr0C3mm3zZEOr2g7 BGOAsR38XbhwGVZ4+Z52bhyiFAU+QqLmO0IEvz4kdgIb7JakJoVjgpJKvFcM+yRUKT8K zGa2NbjIs6MMSqobByJjoWJrU3hTictKGBQ/n1DkextCOcwbH5oNyUdufCkRCcQOJ1vw 12JT62MIHWx7h6Dmb6gn07+FDfIg4cKpoOeYJ4urba+MOHaVdnMkCkTMQS+3Wu1RRntC zltB8TY0tm2zv+L6u+QddVozQB57WnUiRTr3nNQqO8hwzchimccScBOcXlDGNzi9CX7n KMeQ== X-Gm-Message-State: AOAM532cJsBPJ7I+jK10cJCNgo/22gioctE4HNf3tBp0sSh0YQ0kx/dB q3WXewmPDosmwHnJ+Ka4MXsauYTE8RIxoO60yT9ef/t/ X-Google-Smtp-Source: ABdhPJxxdak0taSKdwVZnoMEM8kJnfmw+ELPVybU2ZIawX+HEKxXaQ0BGZPa7+xYXwZy8+iwjHqRhKCEYQ8hHsfMCak= X-Received: by 2002:a17:907:6093:b0:6e0:dabf:1a9f with SMTP id ht19-20020a170907609300b006e0dabf1a9fmr23886913ejc.424.1649533877371; Sat, 09 Apr 2022 12:51:17 -0700 (PDT) MIME-Version: 1.0 References: <164940563632.677.2733327481665479531@wrigleys.postgresql.org> In-Reply-To: <164940563632.677.2733327481665479531@wrigleys.postgresql.org> From: "David G. Johnston" Date: Sat, 9 Apr 2022 12:50:59 -0700 Message-ID: Subject: Re: 41.3. Materialized Views: Create table should be create view? To: tom.byttebier@gemone.com, Pg Docs Content-Type: multipart/alternative; boundary="000000000000ce49a605dc3e0823" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ce49a605dc3e0823 Content-Type: text/plain; charset="UTF-8" On Fri, Apr 8, 2022 at 2:06 AM PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/14/rules-materializedviews.html > Description: > > CREATE TABLE mymatview AS SELECT * FROM mytab; > > Should be the creation of view instead. > The documentation is correct. Its purpose is to contrast a table that got created from a view and a materialized view. David J. --000000000000ce49a605dc3e0823 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Apr 8, 2022 at 2:06 AM PG Doc comments form <noreply@postgresql.org> wrot= e:
The following documentation comment has been log= ged on the website:

Page: https://www.postgresql.org/docs= /14/rules-materializedviews.html
Description:

CREATE TABLE mymatview AS SELECT * FROM mytab;

Should be the creation of view instead.

T= he documentation is correct.=C2=A0 Its purpose is to contrast a table that = got created from a view and a materialized view.

David= J.
--000000000000ce49a605dc3e0823--