Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 464451C0B198 for ; Fri, 20 Jul 2012 11:18:38 -0300 (ADT) Received: from 7.mo3.mail-out.ovh.net ([46.105.57.200] helo=mo3.mail-out.ovh.net) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SsE2O-0002fN-Hl for pgsql-bugs@postgresql.org; Fri, 20 Jul 2012 14:18:37 +0000 Received: from mail412.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo3.mail-out.ovh.net (Postfix) with SMTP id E7292FF91A7 for ; Fri, 20 Jul 2012 16:23:52 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 20 Jul 2012 16:18:22 +0200 Received: from 138.4.14.109.rev.sfr.net (HELO MacBook-Pro-de-Harsh-Singhal.local) (harsh.singhal@cy-play.com@109.14.4.138) by ns0.ovh.net with SMTP; 20 Jul 2012 16:18:20 +0200 Message-ID: <500968AC.80404@cy-play.com> Date: Fri, 20 Jul 2012 16:18:20 +0200 From: SINGHAL Harsh User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120717 Thunderbird/15.0 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org X-Ovh-Mailout: 178.32.228.3 (mo3.mail-out.ovh.net) Subject: Re: Sequence id NOT incremented as expected References: <50091474.6030908@cy-play.com> <16524.1342793329@sss.pgh.pa.us> In-Reply-To: <16524.1342793329@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 7542403476308792835 X-Ovh-Remote: 109.14.4.138 (138.4.14.109.rev.sfr.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegkedrkeegucetufdoteggodetrfdofgetucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucenucfhrhhomhepuffkpffijfetnfcujfgrrhhshhcuoehhrghrshhhrdhsihhnghhhrghlsegthidqphhlrgihrdgtohhmqeenucfjughrpefkfffhfgggvffufhgjtgfgsehtjegrtddtfedu X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegkedrkeegucetufdoteggodetrfdofgetucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucenucfhrhhomhepuffkpffijfetnfcujfgrrhhshhcuoehhrghrshhhrdhsihhnghhhrghlsegthidqphhlrgihrdgtohhmqeenucfjughrpefkfffhfgggvffufhgjtgfgsehtjegrtddtfedu X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/178 X-Sequence-Number: 33654 Thanks a lot, Tom. -- Harsh Raj SINGHAL Cy-Play On 20/07/12 16:08, Tom Lane wrote: > SINGHAL Harsh 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 >