Re: lastval(seq) ? - Mailing list pgsql-general

From Jeff
Subject Re: lastval(seq) ?
Date
Msg-id 20031021081012.2f4521f4.threshar@torgo.978.org
Whole thread Raw
In response to lastval(seq) ?  (CSN <cool_screen_name90001@yahoo.com>)
Responses Re: lastval(seq) ?
List pgsql-general
On Mon, 20 Oct 2003 21:52:17 -0700 (PDT)
CSN <cool_screen_name90001@yahoo.com> wrote:

> How do you get the last value of a sequence without
> having called nextval? phppgadmin displays last value
> for sequences (I haven't found out how yet rooting
> through the code).
>
> CSN
>

select curval('my_sequence')


--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

pgsql-general by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: tsearch2 and aspell
Next
From: Diogo Biazus
Date:
Subject: About TSearch2 Performance