Re: "RETURNING PRIMARY KEY" syntax extension

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Jochem van Dieten <jochemd(at)gmail(dot)com>
Cc: Ian Barwick <ian(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: "RETURNING PRIMARY KEY" syntax extension
Date: 2014-06-12 12:20:00
Message-ID: 20140612122000.GB24710@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Barwick 2014-06-12 12:23:47 Re: "RETURNING PRIMARY KEY" syntax extension
Previous Message Jochem van Dieten 2014-06-12 11:58:31 Re: "RETURNING PRIMARY KEY" syntax extension