pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sabin Coanda <sabin.coanda@deuromedia.ro>
To: pgsql-sql@postgresql.org
Subject: Re: system table storing sequence attributes
Date: Tue, 22 May 2007 15:23:44 +0300
Message-ID: <f2unc1$kdo$1@news.hub.org> (raw)
References: <f2u4jn$a03$1@news.hub.org>
	<pan.2007.05.22.07.43.23.678145@gmail.com>

...
> select last_value from sequence_name

Unfortunately there is the same problem. The documentation say: "It is an 
error to call lastval if nextval has not yet been called in the current 
session." .... and I don't want to call nextval before.

Sabin 





view thread (9+ messages)  latest in thread

Message-ID: <f2unc1$kdo$1@news.hub.org>
Permalink:  ../f2unc1$kdo$1@news.hub.org/
Also on:    postgresql.org/message-id/f2unc1$kdo$1@news.hub.org

 · 

reply

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: sabin.coanda@deuromedia.ro
  Subject: Re: system table storing sequence attributes
  In-Reply-To: <f2unc1$kdo$1@news.hub.org>

* 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