Re: Constraints & pg_dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Constraints & pg_dump
Дата
Msg-id 26115.1079544057@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Constraints & pg_dump  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Constraints & pg_dump  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Further thoughts about warning for costly FK checks
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Constraints & pg_dump