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

Commit8ed9bf0

Browse files
Fix missing ldapscheme option in pg_hba_file_rules()
The ldapscheme option was missed when inspecing the HbaLine forassembling rows for the pg_hba_file_rules function. Backpatchto all supported versions.Author: Laurenz Albe <laurenz.albe@cybertec.at>Reported-by: Laurenz Albe <laurenz.albe@cybertec.at>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Bug: 18769Discussion:https://postgr.es/m/18769-dd8610cbc0405172@postgresql.orgBackpatch-through: v13
1 parent5db9367 commit8ed9bf0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/backend/utils/adt/hbafuncs.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ get_hba_options(HbaLine *hba)
8989
options[noptions++]=
9090
CStringGetTextDatum(psprintf("ldapport=%d",hba->ldapport));
9191

92+
if (hba->ldapscheme)
93+
options[noptions++]=
94+
CStringGetTextDatum(psprintf("ldapscheme=%s",hba->ldapscheme));
95+
9296
if (hba->ldaptls)
9397
options[noptions++]=
9498
CStringGetTextDatum("ldaptls=true");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp