Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cw8LX-0000WQ-1A for pgsql-committers@arkaria.postgresql.org; Thu, 06 Apr 2017 14:25:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cw8LW-0007X1-Cb for pgsql-committers@arkaria.postgresql.org; Thu, 06 Apr 2017 14:25:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cw8LH-00075g-Hl for pgsql-committers@postgresql.org; Thu, 06 Apr 2017 14:24:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cw8LF-0008GM-5O for pgsql-committers@postgresql.org; Thu, 06 Apr 2017 14:24:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v36EOjYu022228; Thu, 6 Apr 2017 10:24:45 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Identity columns In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Thu, 06 Apr 2017 12:44:08 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22226.1491488685.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 06 Apr 2017 10:24:45 -0400 Message-ID: <22227.1491488685@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Peter Eisentraut writes: > Identity columns This commit is causing a compiler warning for me: tablecmds.c: In function 'ATExecSetIdentity': tablecmds.c:5936: warning: 'address.objectSubId' may be used uninitialized = in this function tablecmds.c:5936: warning: 'address.objectId' may be used uninitialized in = this function I'm not sure why it's not complaining about all three fields, because AFAICS, the function returns a totally undefined ObjectAddress when generatedEl is not set. What is the intention there? (If the function were adequately documented, maybe I could divine that for myself, but heaven help the reader who would like to know what this function is supposed to do.) regards, tom lane --=20 Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers