Re: patch: Distinguish between unique indexes and unique constraints - Mailing list pgsql-hackers

From Robert Haas
Subject Re: patch: Distinguish between unique indexes and unique constraints
Date
Msg-id n2g603c8f071004180841m2c53ae89qd7d16857437009a3@mail.gmail.com
Whole thread Raw
In response to Re: patch: Distinguish between unique indexes and unique constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: patch: Distinguish between unique indexes and unique constraints  (Josh Kupershmidt <schmiddy@gmail.com>)
List pgsql-hackers
On Sun, Apr 18, 2010 at 11:23 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> 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?
>
> Unique constraints are defined by the SQL standard, and have a syntax
> that can't support a lot of the extensions that CREATE INDEX allows.
> There's also restrictions in the information_schema views.
> So unifying the two concepts completely would be a mess.

I thought it might be something like that.

Josh - you may want to add your patch here:

https://commitfest.postgresql.org/action/commitfest_view/open

...Robert


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch: Distinguish between unique indexes and unique constraints
Next
From: Josh Kupershmidt
Date:
Subject: Re: patch: Distinguish between unique indexes and unique constraints