Re: Proposal: RETURNING primary_key()

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "Igal (at) Lucee(dot)org" <igal(at)lucee(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposal: RETURNING primary_key()
Date: 2016-03-07 20:45:22
Message-ID: 56DDE862.20307@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03/07/2016 12:32 PM, Igal @ Lucee.org wrote:

> The problem is that we do not always know in advance what the Primary
> Key is, and therefore a solution that was implemented in the pgjdbc

I agree that the problem is that you don't always know what the primary
key is.

I would argue the solution is to check before you write the query.

JD

--
Command Prompt, Inc. http://the.postgres.company/
+1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Igal @ Lucee.org 2016-03-07 20:51:26 Re: Proposal: RETURNING primary_key()
Previous Message Igal @ Lucee.org 2016-03-07 20:32:29 Proposal: RETURNING primary_key()