summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2025-04-10 18:49:10 +0000
committerTom Lane2025-04-10 18:49:10 +0000
commitd89335eea67c1cb55b03d5235320cc107287b59a (patch)
tree30bd94f7443806bf2500ec8189610712e9433c50
parentf27eb0325b7b2cff3b880fa669913693849521dc (diff)
Doc: remove long-obsolete advice about generated constraint names.
It's been twenty years since we generated constraint names that look like "$N". So this advice about double-quoting such names is well past its sell-by date, and now it merely seems confusing. Reported-by: Yaroslav Saburov <[email protected]> Author: "David G. Johnston" <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 13
-rw-r--r--doc/src/sgml/ddl.sgml3
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
index d2082b7e88e..fcd1cb85352 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -1764,9 +1764,6 @@ ALTER TABLE products ALTER COLUMN product_no SET NOT NULL;
<programlisting>
ALTER TABLE products DROP CONSTRAINT some_name;
</programlisting>
- (If you are dealing with a generated constraint name like <literal>$2</literal>,
- don't forget that you'll need to double-quote it to make it a valid
- identifier.)
</para>
<para>