pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Identity columns
Date: Fri, 7 Apr 2017 17:39:10 -0400
Message-ID: <6ed8f35e-50be-367f-4e05-8aeea6c87bd5@2ndquadrant.com> (raw)
In-Reply-To: <CAKJS1f8UW=ZN8uZ9L2P-rkN3404n6tnXTDUiX0Yq5VbEbzQabA@mail.gmail.com>
References: <E1cw6lk-0008UE-KZ@gemulon.postgresql.org>
	<CAKJS1f8UW=ZN8uZ9L2P-rkN3404n6tnXTDUiX0Yq5VbEbzQabA@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 4/6/17 23:13, David Rowley wrote:
> On 7 April 2017 at 00:44, Peter Eisentraut <peter_e@gmx.net> wrote:
>> Identity columns
>>
>> This is the SQL standard-conforming variant of PostgreSQL's serial
>> columns.  It fixes a few usability issues that serial columns have:
>>
>> - CREATE TABLE / LIKE copies default but refers to same sequence
>> - cannot add/drop serialness with ALTER TABLE
>> - dropping default does not drop sequence
>> - need to grant separate privileges to sequence
>> - other slight weirdnesses because serial is some kind of special macro
> 
> Attached is a small patch which fixes up a warning for compilers not
> smart enough to know the elog(ERROR) does not return.

fixed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (5+ messages)

Message-ID: <6ed8f35e-50be-367f-4e05-8aeea6c87bd5@2ndquadrant.com>
Permalink:  ../6ed8f35e-50be-367f-4e05-8aeea6c87bd5@2ndquadrant.com/
Also on:    postgresql.org/message-id/6ed8f35e-50be-367f-4e05-8aeea6c87bd5@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, david.rowley@2ndquadrant.com
  Subject: Re: pgsql: Identity columns
  In-Reply-To: <6ed8f35e-50be-367f-4e05-8aeea6c87bd5@2ndquadrant.com>
  References: <E1cw6lk-0008UE-KZ@gemulon.postgresql.org> <CAKJS1f8UW=ZN8uZ9L2P-rkN3404n6tnXTDUiX0Yq5VbEbzQabA@mail.gmail.com> <6ed8f35e-50be-367f-4e05-8aeea6c87bd5@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox