Update a code comment
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 19 Mar 2025 09:39:06 +0000 (10:39 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 19 Mar 2025 09:39:06 +0000 (10:39 +0100)
commit190dc27998d5b7b4c36e12bebe62f7176f4b4507
tree96f02ac2e228921a47a7955cfe5c823ff5b649d9
parent4f7f7b0375854e2f89876473405a8f21c95012af
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
src/backend/parser/parse_utilcmd.c