RETURNING clause in 8.2

From: "Brandon Metcalf" <bmetcalf(at)nortel(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: RETURNING clause in 8.2
Date: 2008-06-18 19:32:28
Message-ID: Pine.LNX.4.58L.0806181429110.23534@cash.us.nortel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I see that 8.2 has added a RETURNING clause option to the INSERT
command. Is there anyway to achieve the same thing in versions prior
to 8.2? Specifically, I need to return a default sequence number
generated from an INSERT.

Thanks.

--
Brandon

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kynn Jones 2008-06-18 19:48:25 Easiest way to copy table from one db to another?
Previous Message Shane Ambler 2008-06-18 19:30:18 Re: Database design: Storing app defaults