getting the currval of a sequence - Mailing list pgsql-general

From Fran Fabrizio
Subject getting the currval of a sequence
Date
Msg-id 3.0.5.32.19980814004338.00835da0@mail.primary.net
Whole thread Raw
Responses Re: [GENERAL] getting the currval of a sequence
List pgsql-general
Hi all,

I need to do the equivalent of:

 select my_sequence.CURRVAL from Sys.dual;

so I'm guessing its:

 select currvar('my_sequence') from ???????;

Can anyone fill in the ????  Thanks!

-Fran


pgsql-general by date:

Previous
From:
Date:
Subject: ...
Next
From: dustin sallings
Date:
Subject: Re: [GENERAL] getting the currval of a sequence