Re: "RETURNING PRIMARY KEY" syntax extension - Mailing list pgsql-hackers

From Andres Freund
Subject Re: "RETURNING PRIMARY KEY" syntax extension
Date
Msg-id 20140612122000.GB24710@alap3.anarazel.de
Whole thread Raw
In response to Re: "RETURNING PRIMARY KEY" syntax extension  (Jochem van Dieten <jochemd@gmail.com>)
List pgsql-hackers
On 2014-06-12 13:58:31 +0200, Jochem van Dieten wrote:
> But the obvious way to fix the JDBC issue is not to fix it by adding a
> 'mini parser' on the JDBC side, but to make SELECT ... RETURNING PRIMARY
> KEY a regular select that silently ignores the returning clause and doesn't
> throw an error on the server-side.

Brr. Then it'd need to be added to all statements, not just SELECT. I've
my doubts that's going to happen.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Jochem van Dieten
Date:
Subject: Re: "RETURNING PRIMARY KEY" syntax extension
Next
From: Ian Barwick
Date:
Subject: Re: "RETURNING PRIMARY KEY" syntax extension