returning the primary key value

From: "Jason Tesser" <JTesser(at)nbbc(dot)edu>
To: <pgsql-general(at)postgresql(dot)org>
Subject: returning the primary key value
Date: 2005-09-21 19:22:22
Message-ID: AA9E9C9ACAFCA545A33A9F6E1E88353E039281@titus.nmi.northlandministries.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a stored proc in which I want to retur the primary key of an insert statement that the stored proc just ran. How can I do that?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-09-21 19:30:57 Re: Problem with libpq3 & postgresql8
Previous Message Tony Wasson 2005-09-21 19:04:20 Re: Network Flow Schema + Bulk Import/Updates