Re: How to auto create a unique key for each newly added record? - Mailing list pgsql-general

From Prasanth Kumar
Subject Re: How to auto create a unique key for each newly added record?
Date
Msg-id 002701c0b677$0d777570$afc8b018@c654771a
Whole thread Raw
In response to How to auto create a unique key for each newly added record?  ("Jeff" <jklcom@mindspring.com>)
List pgsql-general
Make a column of type SERIAL. See
http://www.postgresql.org/docs/aw_pgsql_book/node88.html

----- Original Message -----
From: "Jeff" <jklcom@mindspring.com>
To: <pgsql-general@postgresql.org>
Sent: Monday, March 26, 2001 6:20 PM
Subject: [GENERAL] How to auto create a unique key for each newly added
record?


> Hi,
>
> How to if it is possible to let postgresql to auto assign unique key to
each
> new record that is added to the database?
>
> Thanks
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html


pgsql-general by date:

Previous
From: Paul Tomblin
Date:
Subject: point data type
Next
From: "Christian Marschalek"
Date:
Subject: RE: PostgreSQL under Windows?