From: Weiping He <laser@zhengmai.com.cn>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: checking currval
Date: Wed, 18 Jun 2003 22:00:39 +0800
Message-ID: <3EF07087.8080409@zhengmai.com.cn> (raw)
In-Reply-To: <3EF06F67.1010901@virginia.edu>
References: <3EF06F67.1010901@virginia.edu>
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
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-admin@postgresql.org
Cc: laser@zhengmai.com.cn, jkanter@virginia.edu
Subject: Re: checking currval
In-Reply-To: <3EF07087.8080409@zhengmai.com.cn>
References: <3EF06F67.1010901@virginia.edu> <3EF07087.8080409@zhengmai.com.cn>
* 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