pgsql: Doc: be more precise about conflicts between relation names.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: be more precise about conflicts between relation names.
Date: 2021-11-02 16:12:10
Message-ID: E1mhwOQ-0000BR-0p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-11-02 16:54:44 pgsql: Doc: clean up some places that mentioned template1 but not templ
Previous Message Tom Lane 2021-11-02 15:32:06 pgsql: Avoid O(N^2) behavior in SyncPostCheckpoint().