Re: BUG #5809: bigserial duplicate value

From: Joshua Tolley <eggyknap(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: mahmoud elzaiady <melzaiady(at)yahoo(dot)co(dot)uk>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5809: bigserial duplicate value
Date: 2011-01-04 16:34:57
Message-ID: 4d234c4c.086fec0a.3a5b.ffff892f@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Jan 03, 2011 at 11:04:17AM -0800, Jeff Davis wrote:
> On Sun, 2011-01-02 at 11:40 +0000, mahmoud elzaiady wrote:
> > i ask ,bigserial must not duplicate the value ?
> > how solve this problem
>
> This is probably due to the sequence being reset somehow. Have you
> dumped/reloaded recently? Did you manually back up or copy the table?

Alternatively, perhaps at some point you've added data to that column, rather
than relying on PostgreSQL to supply a default value.

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Gouse 2011-01-04 17:17:05 to_timestamp returns the incorrect result for the DST fall over time.
Previous Message Jean-Baptiste Veslin 2011-01-04 14:44:25 BUG #5812: ecpg problem with array of varchar when using dimension name with length > 12