Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95e8385

Browse files
committed
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
1 parent 0434033 commit 95e8385

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

doc/src/sgml/ddl.sgml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,9 +1470,6 @@ ALTER TABLE products ALTER COLUMN product_no SET NOT NULL;
14701470
<programlisting>
14711471
ALTER TABLE products DROP CONSTRAINT some_name;
14721472
</programlisting>
1473-
(If you are dealing with a generated constraint name like <literal>$2</literal>,
1474-
don't forget that you'll need to double-quote it to make it a valid
1475-
identifier.)
14761473
</para>
14771474

14781475
<para>

0 commit comments

Comments
 (0)