X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 9EE7830DCDD for ; Wed, 18 Jun 2003 14:01:37 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 59925-07 for ; Wed, 18 Jun 2003 11:01:27 -0300 (ADT) Received: from mail.zhengmai.com.cn (unknown [202.99.6.10]) by svr1.postgresql.org (Postfix) with ESMTP id 95A8A30DC17 for ; Wed, 18 Jun 2003 11:01:25 -0300 (ADT) Received: from zhengmai.com.cn ([61.48.124.226]) by mail.zhengmai.com.cn (8.9.3/8.9.3) with ESMTP id VAA01631; Wed, 18 Jun 2003 21:57:38 +0800 (BST) Message-ID: <3EF07087.8080409@zhengmai.com.cn> Date: Wed, 18 Jun 2003 22:00:39 +0800 From: Weiping He User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jodi Kanter Cc: Postgres Admin List Subject: Re: checking currval References: <3EF06F67.1010901@virginia.edu> In-Reply-To: <3EF06F67.1010901@virginia.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200306/221 X-Sequence-Number: 9212 select last_value from your_sequence; Jodi Kanter wrote: > I cannot view the currval because it is not set in the session yet. Is > there a way to set it without having to increment the value? > Thanks > Jodi