Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXlP-0003O6-Ol for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Mar 2017 15:56:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1coXlP-0005si-BN for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Mar 2017 15:56:31 +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 1coXlO-0005p4-Al for pgsql-hackers@postgresql.org; Thu, 16 Mar 2017 15:56:30 +0000 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1coXlL-0005BI-MB for pgsql-hackers@postgresql.org; Thu, 16 Mar 2017 15:56:29 +0000 Received: by mail-qk0-x236.google.com with SMTP id p64so42904570qke.1 for ; Thu, 16 Mar 2017 08:56:27 -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=E1ipeCqKuJP5IvAnF0VwRQtOSU0pVpPoog0rk9Zrlew=; b=lnu9Wh1om8ca5kFum9Z5Y8m62d305Q7X0pfEkd8Bji0I5FIrRdb5GlV8dGXTDMXlCX gHDrcwJrdnCUT6PM78ZC4Tn4CifoKF09u7fORCGEqYIFGNCJhF5EKMhMFcRQDElMYuN4 PnqGD7cll3rwUtMdakJXlT08mK90+Q4QJzhgzepIYy9kR7+5hDjo+cRIzHRfjWflCot7 9fAlYHo7ebgZuCZLnRAMo9jp6RpK/Xa7i4yd3s5b1wkM7jQpWEdj69UDR9ZKtCsNx6yh rlrdtJR6oRlnqFwaf0Y8vOJRHBQynWI5pWEJtdRD87gvJasKozeCpMQy+x4BO8jHddT8 3MMg== 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=E1ipeCqKuJP5IvAnF0VwRQtOSU0pVpPoog0rk9Zrlew=; b=LUSQn3l/MRZUd+5lZopD9JGRR9koaGxN1LQHH1ap7Eaa9FzeLSi3ux2/mWQC+5DL3D 9wkbwIr8trY35zdr9qosYz59ly3wNQsSxxOEfZ7N6i764svcdKkA426Fi57p4rQ6gj9I 8rRrWy5KNW82luJy/GeTZwz3y7zpcZgltRX5tbo/0dHssc28Q61CgR0S4ydOoBmzQ89T wdlPUF0PSZK8dmjG61ak95ofyhIMZ4Oz0JohYJIhXoAaIcyHu3wzWcBRGiIXXuZ7/sRN 1/hmCHLgFftZNzz8KjBd/qDKl4zfyKK19h5jrtd0W7neGmFgMnu5FE4o95FXoZ0FVrV4 9eUA== X-Gm-Message-State: AFeK/H0nt634pjzckp42m32lJTx558eaioq4X22hC3hRZRTnqz/9FCSYOQH3aVdAmuty3FDb X-Received: by 10.55.3.151 with SMTP id 145mr8242545qkd.244.1489679786859; Thu, 16 Mar 2017 08:56:26 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([179.57.115.10]) by smtp.gmail.com with ESMTPSA id n19sm3908690qtn.35.2017.03.16.08.56.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Mar 2017 08:56:26 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id A88147C9; Thu, 16 Mar 2017 12:56:24 -0300 (CLST) Date: Thu, 16 Mar 2017 12:56:24 -0300 From: Alvaro Herrera To: Michael Paquier Cc: Peter Eisentraut , PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Remove objname/objargs split for referring to objects Message-ID: <20170316155624.cjaweygkplodj66i@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 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. -- Á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