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

Commit5cc1e64

Browse files
committed
Update code comments about peer authenticaton
For historical reasons, the functions for peer authentication weregrouped under ident authentication. But they are really completelyseparate, so give them their own section headings.
1 parente4d9212 commit5cc1e64

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎src/backend/libpq/auth.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ static intCheckSCRAMAuth(Port *port, char *shadow_pass, char **logdetail);
7373

7474
staticintident_inet(hbaPort*port);
7575

76+
77+
/*----------------------------------------------------------------
78+
* Peer authentication
79+
*----------------------------------------------------------------
80+
*/
7681
#ifdefHAVE_UNIX_SOCKETS
7782
staticintauth_peer(hbaPort*port);
7883
#endif
@@ -1967,6 +1972,12 @@ ident_inet(hbaPort *port)
19671972
returnSTATUS_ERROR;
19681973
}
19691974

1975+
1976+
/*----------------------------------------------------------------
1977+
* Peer authentication system
1978+
*----------------------------------------------------------------
1979+
*/
1980+
19701981
/*
19711982
*Ask kernel about the credentials of the connecting process,
19721983
*determine the symbolic name of the corresponding user, and check

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp