Re: Composed Key and autoincrement - Mailing list pgsql-novice

From Tom Lane
Subject Re: Composed Key and autoincrement
Date
Msg-id 29787.1170739419@sss.pgh.pa.us
Whole thread Raw
In response to Composed Key and autoincrement  (fbn <fbn79@libero.it>)
List pgsql-novice
fbn <fbn79@libero.it> writes:
> I want to create a table with a primary key composed of 2 auto increment
> (serial) value.

I do not understand why you think that's a good idea.  If you're worried
that 2^32 values isn't enough, use a bigserial.

            regards, tom lane

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: is there more documentation?
Next
From: Tom Lane
Date:
Subject: Re: pg_hba.conf, md5 and .pgpass