Re: Proposal: RETURNING primary_key() - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Proposal: RETURNING primary_key()
Date
Msg-id 56DDE862.20307@commandprompt.com
Whole thread Raw
In response to Proposal: RETURNING primary_key()  ("Igal @ Lucee.org" <igal@lucee.org>)
Responses Re: Proposal: RETURNING primary_key()
List 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.



pgsql-hackers by date:

Previous
From: "Igal @ Lucee.org"
Date:
Subject: Proposal: RETURNING primary_key()
Next
From: "Igal @ Lucee.org"
Date:
Subject: Re: Proposal: RETURNING primary_key()