pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Wienhold <ewie@ewie.name>
Subject: [PATCH] doc: fix column_name parameter in ALTER MATERIALIZED VIEW
Date: Wed, 22 May 2024 02:30:16 +0200

Parameter column_name must be an existing column because ALTER
MATERIALIZED VIEW cannot add new columns.  The old description was
likely copied from ALTER TABLE.
---
 doc/src/sgml/ref/alter_materialized_view.sgml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/src/sgml/ref/alter_materialized_view.sgml b/doc/src/sgml/ref/alter_materialized_view.sgml
index da7ed04597..f81a7393f5 100644
--- a/doc/src/sgml/ref/alter_materialized_view.sgml
+++ b/doc/src/sgml/ref/alter_materialized_view.sgml
@@ -100,7 +100,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r
      <term><replaceable class="parameter">column_name</replaceable></term>
      <listitem>
       <para>
-       Name of a new or existing column.
+       Name of an existing column.
       </para>
      </listitem>
     </varlistentry>
-- 
2.45.1


--fclnfugu5dvcjlvt--





Message-ID: <no-message-id-9506@localhost>
Permalink:  ../no-message-id-9506@localhost/
Also on:    postgresql.org/message-id/no-message-id-9506@localhost

 · 

reply

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
  Subject: Re: [PATCH] doc: fix column_name parameter in ALTER MATERIALIZED VIEW
  In-Reply-To: <no-message-id-9506@localhost>

* 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