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

Re: Adding Serial Type

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: David Pratt <fairwinds(at)eastlink(dot)ca>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Adding Serial Type
Date: 2005-05-28 20:54:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
On Sat, May 28, 2005 at 16:18:30 -0300,
  David Pratt <fairwinds(at)eastlink(dot)ca> wrote:
> Serial should always give me an incremented value that's different so I 
> am assuming it is  unnecessary to use UNIQUE.  Am I correct?

Unless someone uses setval to lower the value or if you change the
configuration of the sequence to allow it to wrap around.

In response to

pgsql-admin by date

Next:From: David PrattDate: 2005-05-28 21:52:38
Subject: Re: Adding Serial Type
Previous:From: Bruno Wolff IIIDate: 2005-05-28 20:52:26
Subject: Re: Adding Serial Type

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