@@ -329,7 +329,6 @@ CREATE SERVER s6 VERSION '16.0' FOREIGN DATA WRAPPER foo OPTIONS (host 'a', dbna
329
329
CREATE SERVER s7 TYPE 'oracle' VERSION '17.0' FOREIGN DATA WRAPPER foo OPTIONS (host 'a', dbname 'b');
330
330
CREATE SERVER s8 FOREIGN DATA WRAPPER postgresql OPTIONS (foo '1'); -- ERROR
331
331
ERROR: invalid option "foo"
332
- HINT: Valid options in this context are: authtype, service, connect_timeout, dbname, host, hostaddr, port, tty, options, requiressl, sslmode, gsslib
333
332
CREATE SERVER s8 FOREIGN DATA WRAPPER postgresql OPTIONS (host 'localhost', dbname 's8db');
334
333
\des+
335
334
List of foreign servers
@@ -440,7 +439,6 @@ ERROR: permission denied for foreign-data wrapper foo
440
439
RESET ROLE;
441
440
ALTER SERVER s8 OPTIONS (foo '1'); -- ERROR option validation
442
441
ERROR: invalid option "foo"
443
- HINT: Valid options in this context are: authtype, service, connect_timeout, dbname, host, hostaddr, port, tty, options, requiressl, sslmode, gsslib
444
442
ALTER SERVER s8 OPTIONS (connect_timeout '30', SET dbname 'db1', DROP host);
445
443
SET ROLE regress_test_role;
446
444
ALTER SERVER s1 OWNER TO regress_test_indirect; -- ERROR
@@ -597,7 +595,7 @@ ERROR: user mapping for "regress_foreign_data_user" already exists for server "
597
595
CREATE USER MAPPING FOR public SERVER s4 OPTIONS ("this mapping" 'is public');
598
596
CREATE USER MAPPING FOR user SERVER s8 OPTIONS (username 'test', password 'secret'); -- ERROR
599
597
ERROR: invalid option "username"
600
- HINT:Valid options in this context are: user, password
598
+ HINT:Perhaps you meant the option " user".
601
599
CREATE USER MAPPING FOR user SERVER s8 OPTIONS (user 'test', password 'secret');
602
600
ALTER SERVER s5 OWNER TO regress_test_role;
603
601
ALTER SERVER s6 OWNER TO regress_test_indirect;
@@ -636,7 +634,7 @@ ALTER USER MAPPING FOR public SERVER s5 OPTIONS (gotcha 'true'); -- E
636
634
ERROR: user mapping for "public" does not exist for server "s5"
637
635
ALTER USER MAPPING FOR current_user SERVER s8 OPTIONS (username 'test'); -- ERROR
638
636
ERROR: invalid option "username"
639
- HINT:Valid options in this context are: user, password
637
+ HINT:Perhaps you meant the option " user".
640
638
ALTER USER MAPPING FOR current_user SERVER s8 OPTIONS (DROP user, SET password 'public');
641
639
SET ROLE regress_test_role;
642
640
ALTER USER MAPPING FOR current_user SERVER s5 OPTIONS (ADD modified '1');