Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lIGta-0001yp-Hw for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Mar 2021 20:17:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lIGtZ-0007K6-F6 for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Mar 2021 20:17:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lIGtZ-0007Jz-93 for pgsql-bugs@lists.postgresql.org; Fri, 05 Mar 2021 20:17:57 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lIGtX-0003aN-1z for pgsql-bugs@lists.postgresql.org; Fri, 05 Mar 2021 20:17:56 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 8D829FB6; Fri, 5 Mar 2021 15:17:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 05 Mar 2021 15:17:53 -0500 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:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=IHRfutSh/PVE4zSLNyUWmUSoZceLvnfDD9GKgK7s/1U=; b=g3cgmOTc 6OQ32A70JPFCw7DpGNEqVIW6+KA1B6RDiH6Mv5selZpoRcT8zn57a+Y+C+DUlP7i hxqCYeSaW1XaOvekiLweyW79LRZj9n4LCOEdDrxxY/M09tt5+gHdDHObvaq+2PCl pHKHUaBfnoNma7BUTkhktUn5iJegJ4iiQrk1XY3chtWVLxSsHGpK+e2EK6xdCheg lBkr/8zjiSrolRCIX05rI1+wubrhrfFgwhUkpaL+EYbAhC3f8Z8YqB5UMghKuL5O V6CX8emNABoBwZtYmSenDpc8dNboOXD4WL19nDl0xJRaTX7l70r9a9pxGgyvPn4o F2Q8trjU+GFxLA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtiedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjggfsehtkeertddtredunecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpeeufffhjeeiueeuffegvddukeegledtveeivdeiueef ieeivefgteehueefteehvdenucfkphepudeltddrleehrdduledrleehnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegr lhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 7B3AA1080064; Fri, 5 Mar 2021 15:17:51 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A6FF32A14F9; Fri, 5 Mar 2021 17:17:48 -0300 (-03) Date: Fri, 5 Mar 2021 17:17:48 -0300 From: Alvaro Herrera To: Brandon Simmons Cc: "David G. Johnston" , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #16912: pg_dump 11 does not respect --quote-all-identifiers within function bodies Message-ID: <20210305201748.GA12026@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: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Mar-04, Brandon Simmons wrote: > So I guess this is really a feature request: > - add a mode that dumps function bodies from their AST > - --quote-all-identifiers should apply to the function body AST > > I can see why this might never happen. Thanks all! Yeah, I doubt this (producing source code from a plpgsql function's AST) would ever happen. And what would you think should happen with functions in other languages? -- Álvaro Herrera 39°49'30"S 73°17'W