From: Tom Lane <tgl@sss.pgh.pa.us>
To: SINGHAL Harsh <harsh.singhal@cy-play.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Sequence id NOT incremented as expected
Date: Fri, 20 Jul 2012 10:08:49 -0400
Message-ID: <16524.1342793329@sss.pgh.pa.us> (raw)
In-Reply-To: <50091474.6030908@cy-play.com>
References: <50091474.6030908@cy-play.com>
SINGHAL Harsh <harsh.singhal@cy-play.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, harsh.singhal@cy-play.com
Subject: Re: Sequence id NOT incremented as expected
In-Reply-To: <16524.1342793329@sss.pgh.pa.us>
References: <50091474.6030908@cy-play.com> <16524.1342793329@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox