Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 507326500FB for ; Fri, 5 Sep 2008 09:58:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 93228-08 for ; Fri, 5 Sep 2008 09:58:23 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by postgresql.org (Postfix) with ESMTP id 8A29364FF27 for ; Fri, 5 Sep 2008 09:58:23 -0300 (ADT) Received: by fg-out-1718.google.com with SMTP id 16so781927fgg.23 for ; Fri, 05 Sep 2008 05:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=H4rtX1LoJoIjWdMB327IIsTtW+Q5cFZ+ezvMqI/FMvw=; b=jtwrs4/vA5qKrOwzyWpLspewPdv58W54uqXQntQgV3tAmU8j/RyttRCBQHgVH0dfSb oAWaCbbM94kHG5zPg+0mXmcN4YvZ8DmPQmRXZK215NUC2jW65ccaIPs3eKPhAoywFTFO SpNpXEl2Q/t7If2KTxsY+TV/wKX0q+gQx427I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=A3afCL1cpVD7jfYfY+aHla0fKQehnxUKXGhAXbZ006+5+7D0dyo676n6NWIdAmqjLh JMGVQX63jcODDjRw4/csfHoK06pUxb3vvEg8a84CdvRS4GaDoDhKJfmmB0W+JtkB+RzD XwhKl33qwPl61j9L3tE7t1WITXUMm3bB+VxDE= Received: by 10.86.52.6 with SMTP id z6mr8748311fgz.48.1220619501255; Fri, 05 Sep 2008 05:58:21 -0700 (PDT) Received: by 10.86.79.10 with HTTP; Fri, 5 Sep 2008 05:58:21 -0700 (PDT) Message-ID: Date: Fri, 5 Sep 2008 14:58:21 +0200 From: "Claus Guttesen" To: pgsql-admin@postgresql.org Subject: change max_value in sequence MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/40 X-Sequence-Number: 30133 Hi. I have a table with a serial field defined with an older version of postgresql (ver. 7). Back then max_value was 2147483647: select max_value from my_bid_seq ; max_value ------------ 2147483647 How can I increase it? By updating the max_value-field? This is an older thread and may have changed: http://archives.postgresql.org/pgsql-admin/2002-12/msg00033.php I'm running postgresql 8.3.1. -- regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare