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

Commitd4781d8

Browse files
committed
Refactor code related to pg_hba_file_rules() into new file
hba.c is growing big, and more contents are planned for it. In order toprepare for this future work, this commit moves all the code related tothe system function processing the contents of pg_hba.conf,pg_hba_file_rules() to a new file called hbafuncs.c, which will be usedas the location for the SQL portion of the authentication file parsing.While on it, HbaToken, the structure holding a string token lexed from aconfiguration file related to authentication, is renamed to a moregeneric AuthToken, as it gets used not only for pg_hba.conf, but alsofor pg_ident.conf. TokenizedLine is now named TokenizedAuthLine.The size of hba.c is reduced by ~12%.Author: Julien RouhaudReviewed-by: Aleksander Alekseev, Michael PaquierDiscussion:https://postgr.es/m/20220223045959.35ipdsvbxcstrhya@jrouhaud
1 parenta1bc4d3 commitd4781d8

File tree

5 files changed

+511
-470
lines changed

5 files changed

+511
-470
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp