pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: SINGHAL Harsh <harsh.singhal@cy-play.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Sequence id NOT incremented as expected
Date: Fri, 20 Jul 2012 16:18:20 +0200
Message-ID: <500968AC.80404@cy-play.com> (raw)
In-Reply-To: <16524.1342793329@sss.pgh.pa.us>
References: <50091474.6030908@cy-play.com>
	<16524.1342793329@sss.pgh.pa.us>

Thanks a lot, Tom.

--
Harsh Raj SINGHAL
Cy-Play

On 20/07/12 16:08, Tom Lane wrote:
> 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
>




view thread (3+ messages)

Message-ID: <500968AC.80404@cy-play.com>
Permalink:  ../500968AC.80404@cy-play.com/
Also on:    postgresql.org/message-id/500968AC.80404@cy-play.com

 · 

reply

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: harsh.singhal@cy-play.com, tgl@sss.pgh.pa.us
  Subject: Re: Sequence id NOT incremented as expected
  In-Reply-To: <500968AC.80404@cy-play.com>
  References: <50091474.6030908@cy-play.com> <16524.1342793329@sss.pgh.pa.us> <500968AC.80404@cy-play.com>

* 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