Re: problem fetching currval of sequence

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Charles Hauser <chauser(at)duke(dot)edu>, pgsql-sql(at)postgresql(dot)org
Subject: Re: problem fetching currval of sequence
Date: 2002-08-06 20:37:48
Message-ID: 200208061337.48357.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Tom,

> Are you sure you were not thinking of "select last_value from seq"?
> That's about the closest approximation I can think of to a
> non-transaction-safe version of currval().

Well, you are the authority. And I'm not willing to regress my database
install just to figure it out. Maybe I am thinking of "Select last_value".

--
-Josh Berkus

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Charles Hauser 2002-08-06 20:53:24 Re: problem fetching currval of sequence
Previous Message Tom Lane 2002-08-06 20:18:45 Re: problem fetching currval of sequence