pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: be more precise about conflicts between relation names.
Date: Tue, 02 Nov 2021 16:12:10 +0000
Message-ID: <E1mhwOQ-0000BR-0p@gemulon.postgresql.org> (raw)

Doc: be more precise about conflicts between relation names.

Use verbiage like "The name of the table must be distinct from the name
of any other relation (table, sequence, index, view, materialized view,
or foreign table) in the same schema." in the reference pages for all
those object types.  The main change here is to mention materialized
views explicitly; although a couple of these pages failed to say
anything at all about name conflicts.

Per suggestion from Daniel Westermann.

Discussion: https://postgr.es/m/ZR0P278MB0920D0946509233459AF0DEFD2889@ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/af8c580e5cf32bb85dde70083a260c93a1f783eb

Modified Files
--------------
doc/src/sgml/ref/create_foreign_table.sgml     | 4 ++--
doc/src/sgml/ref/create_index.sgml             | 5 ++++-
doc/src/sgml/ref/create_materialized_view.sgml | 4 +++-
doc/src/sgml/ref/create_sequence.sgml          | 5 +++--
doc/src/sgml/ref/create_table.sgml             | 4 ++--
doc/src/sgml/ref/create_view.sgml              | 4 ++--
6 files changed, 16 insertions(+), 10 deletions(-)



Message-ID: <E1mhwOQ-0000BR-0p@gemulon.postgresql.org>
Permalink:  ../E1mhwOQ-0000BR-0p@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mhwOQ-0000BR-0p@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: be more precise about conflicts between relation names.
  In-Reply-To: <E1mhwOQ-0000BR-0p@gemulon.postgresql.org>
  References: <E1mhwOQ-0000BR-0p@gemulon.postgresql.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