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

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Rene PijlmanDate: 2001-06-06 19:30:10
Subject: Re: changes sequences to unique
Previous:From: Thalis A. KalfigopoulosDate: 2001-06-06 18:50:18
Subject: Re: changes sequences to unique

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