Re: system table storing sequence attributes - Mailing list pgsql-sql

From Marcin Stępnicki
Subject Re: system table storing sequence attributes
Date
Msg-id pan.2007.05.22.07.43.23.678145@gmail.com
Whole thread Raw
In response to system table storing sequence attributes  ("Sabin Coanda" <sabin.coanda@deuromedia.ro>)
List pgsql-sql
Dnia Tue, 22 May 2007 10:03:28 +0300, Sabin Coanda napisał(a):

> Hi there,
> 
> I'd like to read the global sequence attribute "currval", but not using
> currval function, because it is session dependent and requires a nextval
> function to be used before.
> 
> Do you know where is stored this value in the system tables ?

select last_value from sequence_name

-- 
| And Do What You Will be the challenge | http://apcoln.linuxpl.org
|    So be it in love that harms none   | http://biznes.linux.pl
|   For this is the only commandment.   | http://www.juanperon.info
`---*  JID: Aragorn_Vime@jabber.org *---' http://www.naszedzieci.org 




pgsql-sql by date:

Previous
From: "Sabin Coanda"
Date:
Subject: system table storing sequence attributes
Next
From: "Sabin Coanda"
Date:
Subject: Re: system table storing sequence attributes