Commit bae9e8a5 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix typo in test

The test was supposed to error but didn't.  Apparently, a copy and
paste and string replace mistake from a nearby similar test.
parent 321fa6a4
...@@ -429,7 +429,10 @@ SELECT * FROM chksetconfig(); ...@@ -429,7 +429,10 @@ SELECT * FROM chksetconfig();
----+------+------------+----------- ----+------+------------+-----------
(0 rows) (0 rows)
ALTER USER CURRENT_USER SET application_name to 'BAZ'; -- error ALTER USER CURRENT_ROLE SET application_name to 'BAZ'; -- error
ERROR: syntax error at or near "CURRENT_ROLE"
LINE 1: ALTER USER CURRENT_ROLE SET application_name to 'BAZ';
^
ALTER USER USER SET application_name to 'BOOM'; -- error ALTER USER USER SET application_name to 'BOOM'; -- error
ERROR: syntax error at or near "USER" ERROR: syntax error at or near "USER"
LINE 1: ALTER USER USER SET application_name to 'BOOM'; LINE 1: ALTER USER USER SET application_name to 'BOOM';
......
...@@ -180,7 +180,7 @@ ALTER USER ALL RESET application_name; ...@@ -180,7 +180,7 @@ ALTER USER ALL RESET application_name;
SELECT * FROM chksetconfig(); SELECT * FROM chksetconfig();
ALTER USER CURRENT_USER SET application_name to 'BAZ'; -- error ALTER USER CURRENT_ROLE SET application_name to 'BAZ'; -- error
ALTER USER USER SET application_name to 'BOOM'; -- error ALTER USER USER SET application_name to 'BOOM'; -- error
ALTER USER PUBLIC SET application_name to 'BOMB'; -- error ALTER USER PUBLIC SET application_name to 'BOMB'; -- error
ALTER USER NONE SET application_name to 'BOMB'; -- error ALTER USER NONE SET application_name to 'BOMB'; -- error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment