Re: unique ID - Mailing list pgsql-novice

From John Brookes
Subject Re: unique ID
Date
Msg-id 007301c470d5$08b5be90$6501a8c0@sccorp.com
Whole thread Raw
In response to unique ID  (sql@aniota.com)
List pgsql-novice
----- Original Message -----
From: "Bruno Wolff III" <bruno@wolff.to>
To: <sql@aniota.com>
Cc: <pgsql-novice@postgresql.org>
Sent: Friday, July 23, 2004 8:54 AM
Subject: Re: [NOVICE] unique ID


> On Fri, Jul 23, 2004 at 06:56:49 -0700,
>   sql@aniota.com wrote:
> > I am starting to build an internet directory. What type of system
> > generated unique ID would you suggest?
>
> I am not sure that it makes sense to generate an ID for this purpose,
> rather than using a URL, email address or whatever else makes sense
> for your directory as the primary key.
> However, if you do want one, you want to use bigserial (the in4 serial
> might not be big enough for your purpose).
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

pgsql-novice by date:

Previous
From: "John Brookes"
Date:
Subject: Re: unique ID
Next
From: "John Brookes"
Date:
Subject: Re: ERROR: pg_class_aclcheck: relation (OID) not found with SELECT INTO variable