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

Commited557a3

Browse files
committed
Don't make "replication" magical as a user name, only as a database name, in pg_hba.conf.
Per gripe from Josh Berkus.
1 parentbf50caf commited557a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/libpq/hba.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,8 @@ check_role(const char *role, Oid roleid, char *param_str)
492492
return true;
493493
}
494494
elseif (strcmp(tok,role)==0||
495+
(strcmp(tok,"replication\n")==0&&
496+
strcmp(role,"replication")==0)||
495497
strcmp(tok,"all\n")==0)
496498
return true;
497499
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp