Re: system table storing sequence attributes

From: "Sabin Coanda" <sabin(dot)coanda(at)deuromedia(dot)ro>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: system table storing sequence attributes
Date: 2007-05-22 12:23:44
Message-ID: f2unc1$kdo$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

...
> 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message A. Kretschmer 2007-05-22 12:38:04 Re: system table storing sequence attributes
Previous Message Marcin Stępnicki 2007-05-22 07:43:23 Re: system table storing sequence attributes