Skip site navigation (1) Skip section navigation (2)

Re: unique ID

From: "John Brookes" <jbrookes(at)jobflash(dot)com>
To: "Bruno Wolff III" <bruno(at)wolff(dot)to>, <sql(at)aniota(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: unique ID
Date: 2004-07-23 16:48:39
Message-ID: 007301c470d5$08b5be90$6501a8c0@sccorp.com (view raw or flat)
Thread:
Lists: pgsql-novice
----- Original Message ----- 
From: "Bruno Wolff III" <bruno(at)wolff(dot)to>
To: <sql(at)aniota(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)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(at)aniota(dot)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
> 

In response to

pgsql-novice by date

Next:From: John BrookesDate: 2004-07-23 16:48:59
Subject: Re: ERROR: pg_class_aclcheck: relation (OID) not found with SELECT INTO variable
Previous:From: John BrookesDate: 2004-07-23 16:48:34
Subject: Re: unique ID

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group