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

Commit32b5073

Browse files
committed
1 parent5ac51c8 commit32b5073

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

‎contrib/postgres_fdw/expected/postgres_fdw.out

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9699,15 +9699,9 @@ ERROR: password is required
96999699
DETAIL: 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');
97079703
ERROR: invalid option "password"
97089704
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
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
--

‎contrib/postgres_fdw/sql/postgres_fdw.sql

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp