| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | sbai(at)pivotal(dot)io, pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: BUG #16058: show session_user shows a not clear error message |
| Date: | 2019-10-16 04:41:12 |
| Message-ID: | 20191016044112.GD2602@paquier.xyz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2019-10-16 05:35:27 | Re: BUG #16060: JDBC - badly gets DateOffsetTime value from database |
| Previous Message | Michael Paquier | 2019-10-16 04:20:27 | Re: BUG #16060: JDBC - badly gets DateOffsetTime value from database |