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

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Why doesn't the SERIAL data type automatically have a
Дата
Msg-id 20051005000654.GP40138@pervasive.com
обсуждение исходный текст
Ответ на Re: Why doesn't the SERIAL data type automatically have a  (Ferindo Middleton Jr <fmiddleton@verizon.net>)
Список pgsql-sql
On Tue, Oct 04, 2005 at 07:50:28PM -0400, Ferindo Middleton Jr wrote:
> Based on the feedback I received after I made that original post, it 
> seemed most people don't use SERIAL with a unique constraint or primary 
> key and  I was blasted for making such  a suggestion. I'm sorry... It 

I don't think either assertion is true. I'd bet most of the developers
actually do normally use an index on a serial, since it's normally used
as a PK. And while people can be a bit terse with their replies, I
wouldn't say you were blasted. :)
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


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

Предыдущее
От: Ferindo Middleton Jr
Дата:
Сообщение: Re: Why doesn't the SERIAL data type automatically have a
Следующее
От: "Jim Buttafuoco"
Дата:
Сообщение: Re: using pg_tables and tablename in queries