On Sat, Apr 17, 2010 at 11:53 PM, Josh Kupershmidt <schmi...@gmail.com> wrote:
> 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.1271187...@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)

You know, I've never really understood the difference between these
two types of things, or why we need to support both.  Which may be
just because I'm slow?

...Robert

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to