mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Allow noise semicolons ending psql \sf, \ef, \sv, \ev commands.
Many psql backslash commands tolerate trailing semicolons, even though that's not part of the official syntax. These did not. They tried to, by passing semicolon = true to psql_scan_slash_option, but that function ignored this parameter in OT_WHOLE_LINE mode. Teach it to do the right thing, and remove the now-duplicative logic in exec_command_help. Discussion: https://postgr.es/m/2012251.1704746912@sss.pgh.pa.us
This commit is contained in:
@@ -1315,7 +1315,7 @@ drop role regress_psql_user;
|
||||
\sf information_schema._pg_index_position
|
||||
\sf+ information_schema._pg_index_position
|
||||
\sf+ interval_pl_time
|
||||
\sf ts_debug(text)
|
||||
\sf ts_debug(text);
|
||||
\sf+ ts_debug(text)
|
||||
|
||||
-- AUTOCOMMIT
|
||||
|
||||
Reference in New Issue
Block a user