Re: Why doesn't the SERIAL data type automatically have a UNIQUE CONSTRAINT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why doesn't the SERIAL data type automatically have a UNIQUE CONSTRAINT
Дата
Msg-id 5899.1127782998@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Why doesn't the SERIAL data type automatically have a UNIQUE CONSTRAINT  (Ferindo Middleton Jr <fmiddleton@verizon.net>)
Ответы Re: Why doesn't the SERIAL data type automatically have a UNIQUE  (Ferindo Middleton Jr <fmiddleton@verizon.net>)
Re: Why doesn't the SERIAL data type automatically have a  (Scott Marlowe <smarlowe@g2switchworks.com>)
Re: Why doesn't the SERIAL data type automatically have a  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-sql
Ferindo Middleton Jr <fmiddleton@verizon.net> writes:
> Is there some reason why the SERIAL data type doesn't automatically have 
> a UNIQUE CONSTRAINT.

It used to, and then we decoupled it.  I don't think "I have no use for
one without the other" translates to an argument that no one has a use
for it ...
        regards, tom lane


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

Предыдущее
От: "Anthony Molinaro"
Дата:
Сообщение: Re: how to do 'deep queries'?
Следующее
От: Ferindo Middleton Jr
Дата:
Сообщение: Re: Why doesn't the SERIAL data type automatically have a UNIQUE