Re: "RETURNING PRIMARY KEY" syntax extension

From: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
To: Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>, David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: "RETURNING PRIMARY KEY" syntax extension
Date: 2014-06-09 17:09:01
Message-ID: 5395EA2D.6050203@archidevsys.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/06/14 23:42, Vik Fearing wrote:
> On 06/09/2014 09:06 AM, Gavin Flower wrote:
>> From memory all unique keys can be considered 'candidate primary keys',
>> but only one can be designated 'the PRIMARY KEY'.
> Almost. Candidate keys are also NOT NULL.
Yeah, obviously!
(Except, I did actually forget that - me bad.)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-06-09 17:13:23 Re: "RETURNING PRIMARY KEY" syntax extension
Previous Message Tom Lane 2014-06-09 17:03:13 Re: Inaccuracy in VACUUM's tuple count estimates