Skip to content

Commit fc44ae2

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 <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
1 parent 9f21be0 commit fc44ae2

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
@@ -1542,9 +1542,6 @@ ALTER TABLE products ALTER COLUMN product_no SET NOT NULL;
15421542
<programlisting>
15431543
ALTER TABLE products DROP CONSTRAINT some_name;
15441544
</programlisting>
1545-
(If you are dealing with a generated constraint name like <literal>$2</literal>,
1546-
don't forget that you'll need to double-quote it to make it a valid
1547-
identifier.)
15481545
</para>
15491546

15501547
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy