Gregory Youngblood <[EMAIL PROTECTED]> writes:
> On Jul 27, 2005, at 9:53 PM, Tom Lane wrote:
>> You'd have to translate that to NUMERIC, which would work but would
>> take a bit of a performance hit ...

> The most common places I've seen unsigned bigint used have been  
> primary keys for tables where the counter is expected to basically  
> grow forever. I've also seen it used to store unique user id numbers  
> instead of varchar fields.

[ shrug... ]  So store it as plain bigint.  There is not any real
difference between 2^63 and 2^64 available values --- either way,
we'll all be safely dead before overflow occurs.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to