Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iKb7h-00078h-Ma for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Oct 2019 04:41:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iKb7g-0006F5-AF for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Oct 2019 04:41:20 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iKb7g-0006Ey-1W for pgsql-bugs@lists.postgresql.org; Wed, 16 Oct 2019 04:41:20 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iKb7d-0004Kv-V0 for pgsql-bugs@lists.postgresql.org; Wed, 16 Oct 2019 04:41:19 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8BDB521BF9; Wed, 16 Oct 2019 00:41:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 16 Oct 2019 00:41:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=WY+XXi48PCmje5qFno11U5UTpi6 4hiQ+0iaBuAJIGu8=; b=PyMqVve9odeUeoZ1HCH7d70StvDeWWRKRCAHuT5Dad/ Z8bX8bLh0sp44zHVPWXBc94iJS/r+sfW2PtbHCyl9NCCZTyV+13WeRW/jqj4XPAr l5Vx991fk2bSRrvwkQSH/3ZFfflxmjou221u3a8bk7f8MFYsapHAjBCsXBXayJWf LAYe6G5Cw/sh6Ug5gOj4QkFy9AEtSARho1SUOF2OTHq37GQZSjPQfo4I5QkSNBmE Ji9tbz8p6Ffiz4SZGa/UQeaPzEeyMrsqE1JEBLleaq+4MScQTf6vF7jrmRzGtfup tOOgcAwdKTFEjxnGdit83a6ftPT349MuXfSMyqNGCgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=WY+XXi 48PCmje5qFno11U5UTpi64hiQ+0iaBuAJIGu8=; b=iOJBAhYYXhoX+KLhUG4197 qiEW+QGT/2vEONcnDlHozikh5baNIOi0dleA0hFqSezrqeDW8dmG5psu8thfdptC 475s5WXzqkIR5hc6Zo5PghItKcLJ8ERdqn5Oetz+xmlPtskGPgOkhdgTqEnmGUSO ZuWuQZeeh8sMeO27QxlM1EoW/mExNSiUt16/zmFUcD2EhNscp3QO3Ix/yEb97Tdw 3bbmAjVIYon/n7MVN2WHsNFYArckJQhnNibl7XWUtNSXGfN1YMr8fiHNBSOdhPqL wF+g8FHE0sjHA7mY/zyVoN+NjEdEIkedvRn0OBMrfV27NkqbVNgLbdaSYwK5Zgwg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrjeeggdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecukfhppeduudekrddvge durddvgeelrddvudenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgr qhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (mp76f1f915.ap.nuro.jp [118.241.249.21]) by mail.messagingengine.com (Postfix) with ESMTPA id 419A38005A; Wed, 16 Oct 2019 00:41:15 -0400 (EDT) Date: Wed, 16 Oct 2019 13:41:12 +0900 From: Michael Paquier To: sbai@pivotal.io, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16058: show session_user shows a not clear error message Message-ID: <20191016044112.GD2602@paquier.xyz> References: <16058-27d2d80dfc33c1fa@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kvUQC+jR9YzypDnK" Content-Disposition: inline In-Reply-To: <16058-27d2d80dfc33c1fa@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --kvUQC+jR9YzypDnK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 15, 2019 at 08:26:00AM +0000, PG Bug reporting form wrote: > Actual > postgres=3D# show session_user; > ERROR: syntax error at or near "session_user" at character 6 > STATEMENT: show session_user; > ERROR: syntax error at or near "session_user" > LINE 1: show session_user; >=20 > Expected > postgres=3D# show session_user; > ERROR: unrecognized configuration parameter "session_user" > STATEMENT: show session_user; This boils down to how we would need to handle reserved keyword parsing for the SHOW command, which would cause reduce/reduce conflicts with bison as it uses var_name (with ColId). I would not bother much with that to be honest. -- Michael --kvUQC+jR9YzypDnK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl2mn2gACgkQnvQgOdby QH151g//dyzFSSRejQ7yj29BalBQH5fcSCdeceycYhYOenWGJplurr0UCnHF38g5 D6LXnJpNvrz7Wm+P8/fWhFwH9psapDV3wXaOUWMizQN2SX0M3RdeoizpvCFW/SJL kOQGUZpgU9bA1+1KXDNZaJ9BzmetxSMH7Vvi50EIvlsyi5EQYsGUabuBgo4SIXIm 0wmMi6c+OmXw6l67KL1k72gAV8d2MpFNhXO8iQdEoEwFxPKo+yL2EIQWtbz92X0f LL2UPtFLNvvQT4UF2zDTUQzho4jN2OlaMf7BH6JmlSL8KzfmmR9XFS+RS3flmdSH lx4CoNn0yDIr1RUCzaQZd6sU4hcNCWWrSQFd7zelk16TZkcn5iCBSN6lwUobrZnx VL7sFc1XvoiBFiZ5UxhQdFfCHm76cv4+J81cVI/shtr7Y9xD2Pz2EaZ/Tdpcp4se 8hIIvbFlobKGuciXUSiUKMdDGSMlTLkA6mLT9jk59crwIPjH4jucg+alqpa/ZRbT ltGLwU4T3xbhT4/DIFhHqgOlppHmL0IHGa00OIfPiXhVhyKLonsMqKfigEuC4rkY FSpxeexHGTYLaZPOcdxYLgFBDm2LrdWo6wWwJEWKCXKwwxgtYOwPPGFGET5h7hPu Hk0jfNLHpLNFR2Rlw1u8Q9n7hiiTET+05lqHWk8yF1tptEIgVl4= =y/Sx -----END PGP SIGNATURE----- --kvUQC+jR9YzypDnK--