Re: Constraints & pg_dump - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Constraints & pg_dump
Date
Msg-id 26115.1079544057@sss.pgh.pa.us
Whole thread Raw
In response to Re: Constraints & pg_dump  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Constraints & pg_dump  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> BTW, the above is basically Bricolage's problem ... they 
> want only active user names to be unique.

Oh, why didn't you say so?  Seems like the correct tool to solve that is
a partial unique index, not a constraint at all.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Further thoughts about warning for costly FK checks
Next
From: Josh Berkus
Date:
Subject: Re: Constraints & pg_dump