summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-12-08 13:09:48 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2020-12-08 13:09:48 -0500
commit567d6d1ff6173cae02a4b89b4283137bf56caf97 (patch)
tree05caa02cd90a8efe2d9aeec323db7fb73dc8b1e9 /src
parentb4a5d5406594ddb2f8ca71912bb1837e9b5644d3 (diff)
Doc: clarify that CREATE TABLE discards redundant unique constraints.
The SQL standard says that redundant unique constraints are disallowed, but we long ago decided that throwing an error would be too user-unfriendly, so we just drop redundant ones. The docs weren't very clear about that though, as this behavior was only explained for PRIMARY KEY vs UNIQUE, not UNIQUE vs UNIQUE. While here, I couldn't resist doing some copy-editing and markup-fixing on the adjacent text about INCLUDE options. Per bug #16767 from Matthias vd Meent. Discussion: https://postgr.es/m/16767-1714a2056ca516d0@postgresql.org
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions