pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #16058: show session_user shows a not clear error message
2+ messages / 2 participants
[nested] [flat]
* BUG #16058: show session_user shows a not clear error message
@ 2019-10-15 08:26 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2019-10-15 08:26 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: sbai@pivotal.io
The following bug has been logged on the website:
Bug reference: 16058
Logged by: Shaoqi Bai
Email address: sbai@pivotal.io
PostgreSQL version: 9.6.12
Operating system: Darwin
Description:
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;
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #16058: show session_user shows a not clear error message
@ 2019-10-16 04:41 Michael Paquier <michael@paquier.xyz>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Paquier @ 2019-10-16 04:41 UTC (permalink / raw)
To: sbai@pivotal.io; pgsql-bugs@lists.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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-10-16 04:41 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 08:26 BUG #16058: show session_user shows a not clear error message PG Bug reporting form <noreply@postgresql.org>
2019-10-16 04:41 ` Michael Paquier <michael@paquier.xyz>
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