Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
50.71. pg_hba_file_rules
Prev UpChapter 50. System CatalogsHome Next

50.71. pg_hba_file_rules

The viewpg_hba_file_rules provides a summary of the contents of the client authentication configuration file,pg_hba.conf. A row appears in this view for each non-empty, non-comment line in the file, with annotations indicating whether the rule could be applied successfully.

This view can be helpful for checking whether planned changes in the authentication configuration file will work, or for diagnosing a previous failure. Note that this view reports on thecurrent contents of the file, not on what was last loaded by the server.

By default, thepg_hba_file_rules view can be read only by superusers.

Table 50.72. pg_hba_file_rules Columns

NameTypeDescription
line_numberinteger Line number of this rule inpg_hba.conf
typetextType of connection
databasetext[]List of database name(s) to which this rule applies
user_nametext[]List of user and group name(s) to which this rule applies
addresstext Host name or IP address, or one ofall,samehost, orsamenet, or null for local connections
netmasktextIP address mask, or null if not applicable
auth_methodtextAuthentication method
optionstext[]Options specified for authentication method, if any
errortext If not null, an error message indicating why this line could not be processed

Usually, a row reflecting an incorrect entry will have values for only theline_number anderror fields.

SeeChapter 19 for more information about client authentication configuration.


Prev Up Next
50.70. pg_group Home 50.72. pg_indexes
epubpdf
Go to Postgres Pro Standard 11
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp