@@ -238,9 +238,9 @@ CREATE SERVER s1 FOREIGN DATA WRAPPER foo;
238
238
COMMENT ON SERVER s1 IS 'foreign server';
239
239
CREATE USER MAPPING FOR current_user SERVER s1;
240
240
CREATE USER MAPPING FOR current_user SERVER s1; -- ERROR
241
- ERROR: user mapping for "regress_foreign_data_user" already exists for server s1
241
+ ERROR: user mapping for "regress_foreign_data_user" already exists for server "s1"
242
242
CREATE USER MAPPING IF NOT EXISTS FOR current_user SERVER s1; -- NOTICE
243
- NOTICE: user mapping for "regress_foreign_data_user" already exists for server s1 , skipping
243
+ NOTICE: user mapping for "regress_foreign_data_user" already exists for server "s1" , skipping
244
244
\dew+
245
245
List of foreign-data wrappers
246
246
Name | Owner | Handler | Validator | Access privileges | FDW options | Description
@@ -578,7 +578,7 @@ CREATE USER MAPPING FOR current_user SERVER s1; -- ERROR
578
578
ERROR: server "s1" does not exist
579
579
CREATE USER MAPPING FOR current_user SERVER s4;
580
580
CREATE USER MAPPING FOR user SERVER s4; -- ERROR duplicate
581
- ERROR: user mapping for "regress_foreign_data_user" already exists for server s4
581
+ ERROR: user mapping for "regress_foreign_data_user" already exists for server "s4"
582
582
CREATE USER MAPPING FOR public SERVER s4 OPTIONS ("this mapping" 'is public');
583
583
CREATE USER MAPPING FOR user SERVER s8 OPTIONS (username 'test', password 'secret'); -- ERROR
584
584
ERROR: invalid option "username"
@@ -618,7 +618,7 @@ ERROR: role "regress_test_missing_role" does not exist
618
618
ALTER USER MAPPING FOR user SERVER ss4 OPTIONS (gotcha 'true'); -- ERROR
619
619
ERROR: server "ss4" does not exist
620
620
ALTER USER MAPPING FOR public SERVER s5 OPTIONS (gotcha 'true'); -- ERROR
621
- ERROR: user mapping for "public" does not exist for the server
621
+ ERROR: user mapping for "public" does not exist for server "s5"
622
622
ALTER USER MAPPING FOR current_user SERVER s8 OPTIONS (username 'test'); -- ERROR
623
623
ERROR: invalid option "username"
624
624
HINT: Valid options in this context are: user, password
@@ -648,13 +648,13 @@ ERROR: role "regress_test_missing_role" does not exist
648
648
DROP USER MAPPING FOR user SERVER ss4;
649
649
ERROR: server "ss4" does not exist
650
650
DROP USER MAPPING FOR public SERVER s7; -- ERROR
651
- ERROR: user mapping for "public" does not exist for the server
651
+ ERROR: user mapping for "public" does not exist for server "s7"
652
652
DROP USER MAPPING IF EXISTS FOR regress_test_missing_role SERVER s4;
653
653
NOTICE: role "regress_test_missing_role" does not exist, skipping
654
654
DROP USER MAPPING IF EXISTS FOR user SERVER ss4;
655
- NOTICE: server does not exist, skipping
655
+ NOTICE: server "ss4" does not exist, skipping
656
656
DROP USER MAPPING IF EXISTS FOR public SERVER s7;
657
- NOTICE: user mapping for "public" does not exist for the server, skipping
657
+ NOTICE: user mapping for "public" does not exist for server "s7" , skipping
658
658
CREATE USER MAPPING FOR public SERVER s8;
659
659
SET ROLE regress_test_role;
660
660
DROP USER MAPPING FOR public SERVER s8; -- ERROR
0 commit comments