Re: changes sequences to unique

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Stokes <dave(at)greatgeek(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: changes sequences to unique
Date: 2001-06-06 18:57:38
Message-ID: 3546.991853858@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dave Stokes <dave(at)greatgeek(dot)com> writes:
> I have a sequence that I 'thought' was providing unique numbers but is
> not. Is there someway to turn on unique-ness?

Huh? nextval() should always produce unique values (unless the sequence
wraps around, of course).

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rene Pijlman 2001-06-06 19:30:10 Re: changes sequences to unique
Previous Message Thalis A. Kalfigopoulos 2001-06-06 18:50:18 Re: changes sequences to unique