Thread: pgsql: Update a code comment

pgsql: Update a code comment

From
Peter Eisentraut
Date:
Update a code comment

The comment explained that ALTER TABLE ADD CONSTRAINT USING INDEX is
only supported with a btree index.  (This is not being changed.)  The
reason is to keep upgrades robust, as explained there.  The other part
of the comment, that btree is the only unique index kind anyway, is
somewhat less true as we're trying to enable unique indexes other than
btree, and it's irrelevant to this check.  There is a check for
indisunique earlier already.  So just remove this part of the comment.

Author: Mark Dilger <mark.dilger@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/190dc27998d5b7b4c36e12bebe62f7176f4b4507

Modified Files
--------------
src/backend/parser/parse_utilcmd.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)