From: Marcin Stępnicki <mstepnicki@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: system table storing sequence attributes
Date: Tue, 22 May 2007 09:43:23 +0200
Message-ID: <pan.2007.05.22.07.43.23.678145@gmail.com> (raw)
References: <f2u4jn$a03$1@news.hub.org>
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
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mstepnicki@gmail.com
Subject: Re: system table storing sequence attributes
In-Reply-To: <pan.2007.05.22.07.43.23.678145@gmail.com>
* 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