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

Commitdc24c9a

Browse files
Fix HBA option count
Commit27a1f8d missed updating the max HBA option count toaccount for the new option added. Fix by bumping the counterand adjust the relevant comment to match. Backpatch down toall supported branches like the erroneous commit.Reported-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/286764.1736697356@sss.pgh.pa.usBackpatch-through: v13
1 parentd037cc2 commitdc24c9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ static void fill_ident_view(Tuplestorestate *tuple_store, TupleDesc tupdesc);
3737
/*
3838
* This macro specifies the maximum number of authentication options
3939
* that are possible with any given authentication method that is supported.
40-
* Currently LDAP supports11, and there are 3 that are not dependent on
40+
* Currently LDAP supports12, and there are 3 that are not dependent on
4141
* the auth method here. It may not actually be possible to set all of them
4242
* at the same time, but we'll set the macro value high enough to be
4343
* conservative and avoid warnings from static analysis tools.
4444
*/
45-
#defineMAX_HBA_OPTIONS14
45+
#defineMAX_HBA_OPTIONS15
4646

4747
/*
4848
* Create a text array listing the options specified in the HBA line.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp