aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-04-10 14:49:10 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2025-04-10 14:49:10 -0400
commitd89335eea67c1cb55b03d5235320cc107287b59a (patch)
tree30bd94f7443806bf2500ec8189610712e9433c50 /doc/src
parentf27eb0325b7b2cff3b880fa669913693849521dc (diff)
downloadpostgresql-d89335eea67c1cb55b03d5235320cc107287b59a.tar.gz
postgresql-d89335eea67c1cb55b03d5235320cc107287b59a.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
Diffstat (limited to 'doc/src')
-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>