(psuedo) random serial for PK or at least UNIQUE NOT NULL? - Mailing list pgsql-general

From Vincenzo Romano
Subject (psuedo) random serial for PK or at least UNIQUE NOT NULL?
Date
Msg-id u2v3eff28921005040920i64c58b19j1334fea6226cbeec@mail.gmail.com
Whole thread Raw
Responses Re: (psuedo) random serial for PK or at least UNIQUE NOT NULL?  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general
Hi all.

I'm willing to change an BIGINT ID column (actually a SERIAL8) with a
BIGINT whose valules are (pseudo)random.
The main objective is to avoid guessability.
I whish I could also use it as the PK (as it's now) but that's not
really important now.
Any hint?


--
Vincenzo Romano
NotOrAnd Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS

pgsql-general by date:

Previous
From: "Sergey E. Koposov"
Date:
Subject: Re: PG & random() strangeness
Next
From: Tom Lane
Date:
Subject: Re: PG & random() strangeness