Re: checking currval - Mailing list pgsql-admin

From Weiping He
Subject Re: checking currval
Date
Msg-id 3EF07087.8080409@zhengmai.com.cn
Whole thread Raw
In response to checking currval  (Jodi Kanter <jkanter@virginia.edu>)
List pgsql-admin
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




pgsql-admin by date:

Previous
From: Jodi Kanter
Date:
Subject: checking currval
Next
From: Jodi Kanter
Date:
Subject: Re: checking currval