Re: OID question - Mailing list pgsql-hackers

From Ed Loehr
Subject Re: OID question
Date
Msg-id 3937C95E.291ADD80@austin.rr.com
Whole thread Raw
In response to OID question  (Jacques Huard <jacques@intuineer.com>)
List pgsql-hackers
Jacques Huard wrote:
> 
> ...I need (or want) the unique sequence
> column to maintain itself, without calling a function to fill in that
> field during an insert...

Try using the SERIAL type.
http://www.postgresql.org/docs/faq-english.html#4.16.1

Regards,
Ed Loehr


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ecpg enhance patch
Next
From: Bruce Momjian
Date:
Subject: Re: ecpg enhance patch