From: Daniel CAUNE <d.caune@free.fr>
To: pgsql-sql@postgresql.org
Subject: DELETE RETURNING
Date: Sun, 22 Oct 2006 00:21:37 -0400
Message-ID: <000001c6f591$90c01bd0$0b00a8c0@tedy> (raw)
Hi,
I have read in the future PostgreSQL 8.2 release note
(http://developer.postgresql.org/pgdocs/postgres/release-8-2.html) that
DELETE RETURNING will be supported. Tom, could please confirm that the
following PL/PGSQL statements will work on PostgreSQL 8.2?
INSERT INTO a(x, y)
DELETE FROM b
RETURNING x, current_timestamp;
IF NOT FOUND THEN
-- No data were deleted actually
END IF;
Thanks,
--
Daniel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: d.caune@free.fr
Subject: Re: DELETE RETURNING
In-Reply-To: <000001c6f591$90c01bd0$0b00a8c0@tedy>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox