File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 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
96999699DETAIL: Non-superusers must provide a password in the user mapping.
97009700-- If we add a password to the connstr it'll fail, because we don't allow passwords
97019701-- 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');
97079703ERROR: invalid option "password"
97089704HINT: 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
97119705-- If we add a password for our user mapping instead, we should get a different
97129706-- error because the password wasn't actually *used* when we run with trust auth.
97139707--
Original file line number Diff line number Diff line change @@ -2899,11 +2899,7 @@ SELECT 1 FROM ft1_nopw LIMIT 1;
28992899-- If we add a password to the connstr it'll fail, because we don't allow passwords
29002900-- in connstrs only in user mappings.
29012901
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' );
29072903
29082904-- If we add a password for our user mapping instead, we should get a different
29092905-- 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