Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
52.9. pg_hba_file_rules
Prev UpChapter 52. System ViewsHome Next

52.9. 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 52.9. pg_hba_file_rules Columns

Column Type

Description

rule_numberint4

Number of this rule, if valid, otherwiseNULL. This indicates the order in which each rule is considered until a match is found during authentication.

file_nametext

Name of the file containing this rule

line_numberint4

Line number of this rule infile_name

typetext

Type 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

netmasktext

IP address mask, or null if not applicable

auth_methodtext

Authentication 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
52.8. pg_group Home 52.10. pg_ident_file_mappings
pdfepub
Go to Postgres Pro Standard 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp