Steve Rogerson <steve.pg@xxxxxxxxxxxxxxxxx> writes: > Is this a bug? I create a "unique" index, directly but it doesn't add a unique > constraint. Add a unique constraint and it adds the index and the constraint. That's operating as designed. A unique constraint needs an index, but not vice versa. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general