get the previous assigned sequence value

From: Kevin Heflin <kheflin(at)shreve(dot)net>
To: "PGSQL-General (E-mail)" <pgsql-general(at)postgreSQL(dot)org>
Subject: get the previous assigned sequence value
Date: 1999-12-08 22:40:58
Message-ID: Pine.LNX.4.10.9912081639280.11761-100000@mercury.shreve.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I've been looking through the online docs, so far have not found this
information.

After an INSERT, I want to retrieve the value of the sequence I use for
unique_ids

Any suggestions ?

Kevin

--------------------------------------------------------------------
Kevin Heflin | ShreveNet, Inc. | Ph:318.222.2638 x103
VP/Production | 333 Texas St #175 | FAX:318.221.6612
kheflin(at)shreve(dot)net | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 1999-12-09 00:18:48 Re: [GENERAL] How to stop implicit rollback on certain errors?
Previous Message admin 1999-12-08 20:34:40 update within limits