Re: "RETURNING PRIMARY KEY" syntax extension

From: Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>
To: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>, 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 11:42:22
Message-ID: 53959D9E.9040507@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.
--
Vik

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-06-09 11:45:08 Supporting Windows SChannel as OpenSSL replacement
Previous Message jlrando 2014-06-09 11:27:25 Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages