patch: Distinguish between unique indexes and unique constraints

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема patch: Distinguish between unique indexes and unique constraints
Дата
Msg-id t2q4ec1cf761004172053jdd53782eo7e140a15a7890e7e@mail.gmail.com
обсуждение исходный текст
Ответы Re: patch: Distinguish between unique indexes and unique constraints
Список pgsql-hackers
Addressing TODO item "Distinguish between unique indexes and unique
constraints in \d+" for psql, and picking up from thread:
http://archives.postgresql.org/message-id/8780.1271187360@sss.pgh.pa.us

Attached is a simple patch which clarifies unique constraints with
"UNIQUE CONSTRAINT" in psql's \d+ description of a table. The
appearance of unique indexes is left as-is.

== Old \d+ display ==
Indexes:
    "name_uniq_constr" UNIQUE, btree (name)

== New \d+ display ==
Indexes:
    "name_uniq_constr" UNIQUE CONSTRAINT, btree (name)

Josh

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: enable_material patch
Следующее
От: Alex Hunsaker
Дата:
Сообщение: [PATCH] fix segfault with DO and plperl/plperlu