Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cotTo-0003IG-Lg for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Mar 2017 15:07:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cotTo-0006r9-89 for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Mar 2017 15:07:48 +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 1cotSK-0003pI-44 for pgsql-hackers@postgresql.org; Fri, 17 Mar 2017 15:06:16 +0000 Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cotSG-0002DK-KC for pgsql-hackers@postgresql.org; Fri, 17 Mar 2017 15:06:15 +0000 Received: by mail-qk0-x235.google.com with SMTP id v127so66661213qkb.2 for ; Fri, 17 Mar 2017 08:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=OCfnMEspWfZO+3er73Oz0sGgNrSOSbScL8mNRiSrgtU=; b=xxYl98G7Rq97suXCYX6gpPq2ud12psUKAH+1j/GJXKXQAHJep8SdPAC/ZD/PlhH6EJ wEKUZF06GWORIwYNcAuCjyy332VK9OgIIH80GfdRyULHz0Hna+qZEdZeSs0MHSIzLBvR Fc3xoISWqFL6ZyUJ4XY0O1f1PPoF65zLeJKVSchcebb820AtZ/Ehn0Z/ZDa3LCGOMRuS /HRyEkcbD+sAeIk2PP6YWf08mNVBxbdeS++8ir1xK/Puo+F+P658VCAq+Mkd9IfRGq9x iLCsCeMfALLwy36fScKQCxkcnCEax3bft6EIoyV6mqEVUOmDVn00eNqMTuNYHQa+je74 QwpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=OCfnMEspWfZO+3er73Oz0sGgNrSOSbScL8mNRiSrgtU=; b=TR24sQ/GjJyJpJFCFd0V5iIkw5rRJaaW9304JkbPIem4DTLoifALuX50p18Imdb2f9 NUUqvItdnaT7cl+6zAEzEyiTnEPOL6UE41xN54M6Byl2ZKmL+Q6NDVcp7DmXQmlshJYP 4XE0H6T6DvtrLS+TL/Xnsr+z4TsY0PyDMgnBYU9RUkICDNj6nRe1O6kRMtMBwabm/hEa EzvctZudXlolDgwZAWTwu83Sa0fkqv170oQ0Abi+ltd/m+jTlDrnEM1qqpehzeTzxche nu+r0jypzOobfhOmUcvogvqo5e8oD9Pwx6+4Qsq6jGQ2aEzu971cGDPOw/XP7etGwvSR 4kng== X-Gm-Message-State: AFeK/H3Dfrk8n8ZghRpzRS8+OLDXTUXOwPMNp845fedNJ1lsebpElb6nSlzgMYIFOTToD8qU X-Received: by 10.55.56.131 with SMTP id f125mr14407222qka.203.1489763170750; Fri, 17 Mar 2017 08:06:10 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([201.186.29.49]) by smtp.gmail.com with ESMTPSA id a184sm2780786qkc.68.2017.03.17.08.06.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Mar 2017 08:06:10 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 8F3FE68F; Fri, 17 Mar 2017 12:06:07 -0300 (CLST) Date: Fri, 17 Mar 2017 12:06:07 -0300 From: Alvaro Herrera To: Peter Eisentraut Cc: Michael Paquier , PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Remove objname/objargs split for referring to objects Message-ID: <20170317150607.pnitszw2ufaehkni@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1c4460ad-b35d-0129-12fc-2ecc1f8d1d3f@2ndquadrant.com> User-Agent: NeoMutt/20170206-195-7adf12 (1.7.2) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Peter Eisentraut wrote: > On 3/16/17 11:56, Alvaro Herrera wrote: > > Michael Paquier wrote: > > > >> What are you using as CFLAGS? As both typenames should be normally > >> set, what about initializing those fields with NULL and add an > >> assertion like the attached? > > > > Actually, my compiler was right -- this was an ancient bug I introduced > > in 9.5 (commit a61fd533), and this new warning was my compiler being a > > bit smarter now for some reason. The problem is we were trying to > > extract String value from a TypeName node, which obviously doesn't work > > very well. > > > > I pushed a real fix, not just a compiler-silencer, along with a few > > lines in object_address.sql to make sure it works properly. Maybe we > > need a few more tests cases for other parts of pg_get_object_address. > > > > Pushed fix, backpatched to 9.5. > > I am now seeing the warnings that Michael was reporting *after* your > commit in 9.5 and 9.6. Do you mean the ones I reported? I don't get anything with my compiler (gcc (Debian 4.9.2-10) 4.9.2) and I don't see anything in the few logs I looked at (clang, 9.6) from buildfarm either. What are you seeing specifically? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers