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

Commit7c45e3a

Browse files
committed
Parse pg_ident.conf when it's loaded, keeping it in memory in parsed format.
Similar changes were done to pg_hba.conf earlier already, this commit makespg_ident.conf to behave the same as pg_hba.conf.This has two user-visible effects. First, if pg_ident.conf contains multipleerrors, the whole file is parsed at postmaster startup time and all theerrors are immediately reported. Before this patch, the file was parsed andthe errors were reported only when someone tries to connect using anauthentication method that uses the file, and the parsing stopped on firsterror. Second, if you SIGHUP to reload the config files, and the newpg_ident.conf file contains an error, the error is logged but the old filestays in effect.Also, regular expressions in pg_ident.conf are now compiled only once whenthe file is loaded, rather than every time the a user is authenticated. Thatshould speed up authentication if you have a lot of regexps in the file.Amit Kapila
1 parent9d5e973 commit7c45e3a

File tree

4 files changed

+213
-94
lines changed

4 files changed

+213
-94
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp