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

Re: bug in 7.3.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Suvarna" <suvarnat(at)cygnus(dot)stpp(dot)soft(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: bug in 7.3.2
Date: 2006-02-28 15:59:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
"Suvarna" <suvarnat(at)cygnus(dot)stpp(dot)soft(dot)net> writes:
> We are facing a problem in nextval of sequence. The problem is as =
> follows,
> If the server shuts down abrupotly because of power failuar or any other
> cause then the sequences tend to skip few numbers.

This is not a bug, it is the designed behavior.  It's not really
different from the case of a number going unused because a transaction
does nextval() and then rolls back --- you cannot assume that the
sequence of used values has no holes, in any case.

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Hannu KrosingDate: 2006-02-28 16:10:05
Subject: Re: Dead Space Map
Previous:From: Albe LaurenzDate: 2006-02-28 15:55:26
Subject: Re: new feature: LDAP database name resolution

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