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: 20050528205450.GB20085@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Browse pgsql-admin by date

  From Date Subject
Next Message David Pratt 2005-05-28 21:52:38 Re: Adding Serial Type
Previous Message Bruno Wolff III 2005-05-28 20:52:26 Re: Adding Serial Type