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

Re: Sequence id NOT incremented as expected

From: SINGHAL Harsh <harsh(dot)singhal(at)cy-play(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Sequence id NOT incremented as expected
Date: 2012-07-20 14:18:20
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Thanks a lot, Tom.


On 20/07/12 16:08, Tom Lane wrote:
> SINGHAL Harsh <harsh(dot)singhal(at)cy-play(dot)com> writes:
>>    * In an increasing sequence whose max value is set to
>>      9223372036854775807 and cycle option is activated, as shown above,
>>      from 2147483647 to 9223372036854775807 it is displaying error
>>      "ERREUR:  entier en dehors des limites" and after that it resets it
>>      to 1 which is normal for any sequence whose cycle option is activated.
> You didn't show us any context here, but this sounds like you're trying
> to store the sequence's result into a integer (not bigint) column.
> If so, that's not a bug, it's just pilot error.
> 			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Alvaro HerreraDate: 2012-07-20 18:13:39
Subject: Re: Re: BUG #6712: PostgreSQL 9.2 beta2: alter table drop constraint does not work on inherited master table
Previous:From: Tom LaneDate: 2012-07-20 14:08:49
Subject: Re: Sequence id NOT incremented as expected

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