diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-04-10 14:49:10 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-04-10 14:49:37 -0400 |
commit | deb99dcba7e367f93c650b15e794038599dd4c2e (patch) | |
tree | 9f78b06f0ac3b29373ace93d01f65e0b182dd9a6 | |
parent | 04e6ae91ac1655c1ec95daa76d492d05507dfa8d (diff) | |
download | postgresql-deb99dcba7e367f93c650b15e794038599dd4c2e.tar.gz postgresql-deb99dcba7e367f93c650b15e794038599dd4c2e.zip |
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 <y.saburov@gmail.com>
Author: "David G. Johnston" <david.g.johnston@gmail.com>
Discussion: https://postgr.es/m/174393459040.678.17810152410419444783@wrigleys.postgresql.org
Backpatch-through: 13
-rw-r--r-- | doc/src/sgml/ddl.sgml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index e1e31abb321..d66f7868eff 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -1469,9 +1469,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> |