Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwbb0-0001T8-36 for pgsql-committers@arkaria.postgresql.org; Fri, 07 Apr 2017 21:39:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cwbaz-0001Dl-Mj for pgsql-committers@arkaria.postgresql.org; Fri, 07 Apr 2017 21:39:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cwbay-0001BN-TD for pgsql-committers@postgresql.org; Fri, 07 Apr 2017 21:39:04 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cwbav-0005eo-Ie for pgsql-committers@postgresql.org; Fri, 07 Apr 2017 21:39:04 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 2F07120BDE; Fri, 7 Apr 2017 17:39:00 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Fri, 07 Apr 2017 17:39:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=0b6GOyllzUTKO1U0qpv7uDxV6nbHBoADH20nXdBvJKQ=; b=iecA4ADH BTdNWyTL96H+ydqzJGOI69J/Mc8E065n1tgvBQfMG89RpBut3k4NQmBQIw1gTtxi x/fvR1nFU1+NiaTxr+T1Di4Q7Ig01u0CruBoSO9jI7mGXBu3WpOugqEdSiJSmXOi vtSQD6pktHrx51teNigZ8F4tA7Q7OmnLJS+UXJRBrYAbV1Uft3SdkJJS4utN2gey GqLXp6hMVow+PHuN+zU9SIxXY6YzIT77m6Tz7RnVx8OT4KICNJbGo1NqEjTl/czD 45dEHDjlYv2E0MGmXbq5Elv3w/HTnwcpXfJMWQ5yYTRWfC4fmQrZvwNgG3pGK9Ma WJn3ezuw+D3kGg== X-ME-Sender: X-Sasl-enc: FmSrLYaX6lmWreXoIZDVdbg5/PU8EZ00MnQBMbToAUW5 1491601139 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id D56AA7E15C; Fri, 7 Apr 2017 17:38:59 -0400 (EDT) Subject: Re: pgsql: Identity columns To: David Rowley References: Cc: pgsql-committers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <6ed8f35e-50be-367f-4e05-8aeea6c87bd5@2ndquadrant.com> Date: Fri, 7 Apr 2017 17:39:10 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 4/6/17 23:13, David Rowley wrote: > On 7 April 2017 at 00:44, Peter Eisentraut 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