pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: sbai@pivotal.io
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16058: show session_user shows a not clear error message
Date: Wed, 16 Oct 2019 13:41:12 +0900
Message-ID: <20191016044112.GD2602@paquier.xyz> (raw)
In-Reply-To: <16058-27d2d80dfc33c1fa@postgresql.org>
References: <16058-27d2d80dfc33c1fa@postgresql.org>

On Tue, Oct 15, 2019 at 08:26:00AM +0000, PG Bug reporting form wrote:
> Actual
> postgres=# 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;
> 
> Expected
> postgres=# 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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (2+ messages)

Message-ID: <20191016044112.GD2602@paquier.xyz>
Permalink:  ../20191016044112.GD2602@paquier.xyz/
Also on:    postgresql.org/message-id/20191016044112.GD2602@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, sbai@pivotal.io
  Subject: Re: BUG #16058: show session_user shows a not clear error message
  In-Reply-To: <20191016044112.GD2602@paquier.xyz>
  References: <16058-27d2d80dfc33c1fa@postgresql.org> <20191016044112.GD2602@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox