File tree 2 files changed +2
-12
lines changed
2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -9699,15 +9699,9 @@ ERROR: password is required
9699
9699
DETAIL: Non-superusers must provide a password in the user mapping.
9700
9700
-- If we add a password to the connstr it'll fail, because we don't allow passwords
9701
9701
-- in connstrs only in user mappings.
9702
- DO $d$
9703
- BEGIN
9704
- EXECUTE $$ALTER SERVER loopback_nopw OPTIONS (ADD password 'dummypw')$$;
9705
- END;
9706
- $d$;
9702
+ ALTER SERVER loopback_nopw OPTIONS (ADD password 'dummypw');
9707
9703
ERROR: invalid option "password"
9708
9704
HINT: Perhaps you meant the option "passfile".
9709
- CONTEXT: SQL statement "ALTER SERVER loopback_nopw OPTIONS (ADD password 'dummypw')"
9710
- PL/pgSQL function inline_code_block line 3 at EXECUTE
9711
9705
-- If we add a password for our user mapping instead, we should get a different
9712
9706
-- error because the password wasn't actually *used* when we run with trust auth.
9713
9707
--
Original file line number Diff line number Diff line change @@ -2899,11 +2899,7 @@ SELECT 1 FROM ft1_nopw LIMIT 1;
2899
2899
-- If we add a password to the connstr it'll fail, because we don't allow passwords
2900
2900
-- in connstrs only in user mappings.
2901
2901
2902
- DO $d$
2903
- BEGIN
2904
- EXECUTE $$ALTER SERVER loopback_nopw OPTIONS (ADD password ' dummypw' )$$;
2905
- END;
2906
- $d$;
2902
+ ALTER SERVER loopback_nopw OPTIONS (ADD password ' dummypw' );
2907
2903
2908
2904
-- If we add a password for our user mapping instead, we should get a different
2909
2905
-- error because the password wasn't actually *used* when we run with trust auth.
You can’t perform that action at this time.
0 commit comments