Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbae9e8a

Browse files
committed
Fix typo in test
The test was supposed to error but didn't. Apparently, a copy andpaste and string replace mistake from a nearby similar test.
1 parent321fa6a commitbae9e8a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎src/test/modules/unsafe_tests/expected/rolenames.out

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,10 @@ SELECT * FROM chksetconfig();
429429
----+------+------------+-----------
430430
(0 rows)
431431

432-
ALTER USER CURRENT_USER SET application_name to 'BAZ'; -- error
432+
ALTER USER CURRENT_ROLE SET application_name to 'BAZ'; -- error
433+
ERROR: syntax error at or near "CURRENT_ROLE"
434+
LINE 1: ALTER USER CURRENT_ROLE SET application_name to 'BAZ';
435+
^
433436
ALTER USER USER SET application_name to 'BOOM'; -- error
434437
ERROR: syntax error at or near "USER"
435438
LINE 1: ALTER USER USER SET application_name to 'BOOM';

‎src/test/modules/unsafe_tests/sql/rolenames.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ ALTER USER ALL RESET application_name;
180180
SELECT*FROM chksetconfig();
181181

182182

183-
ALTERUSERCURRENT_USERSET application_name to'BAZ';-- error
183+
ALTERUSERCURRENT_ROLESET application_name to'BAZ';-- error
184184
ALTERUSER USERSET application_name to'BOOM';-- error
185185
ALTERUSER PUBLICSET application_name to'BOMB';-- error
186186
ALTERUSER NONESET application_name to'BOMB';-- error

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp