diff options
Diffstat (limited to 'doc/src/sgml/html/view-pg-hba-file-rules.html')
-rw-r--r-- | doc/src/sgml/html/view-pg-hba-file-rules.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/doc/src/sgml/html/view-pg-hba-file-rules.html b/doc/src/sgml/html/view-pg-hba-file-rules.html new file mode 100644 index 0000000..10d5604 --- /dev/null +++ b/doc/src/sgml/html/view-pg-hba-file-rules.html @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>51.71. pg_hba_file_rules</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="view-pg-group.html" title="51.70. pg_group" /><link rel="next" href="view-pg-indexes.html" title="51.72. pg_indexes" /></head><body id="docContent" class="container-fluid col-10"><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">51.71. <code xmlns="http://www.w3.org/1999/xhtml" class="structname">pg_hba_file_rules</code></th></tr><tr><td width="10%" align="left"><a accesskey="p" href="view-pg-group.html" title="51.70. pg_group">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="Chapter 51. System Catalogs">Up</a></td><th width="60%" align="center">Chapter 51. System Catalogs</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 13.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="view-pg-indexes.html" title="51.72. pg_indexes">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="VIEW-PG-HBA-FILE-RULES"><div class="titlepage"><div><div><h2 class="title" style="clear: both">51.71. <code class="structname">pg_hba_file_rules</code></h2></div></div></div><a id="id-1.10.4.73.2" class="indexterm"></a><p> + The view <code class="structname">pg_hba_file_rules</code> provides a summary of + the contents of the client authentication configuration + file, <code class="filename">pg_hba.conf</code>. 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. + </p><p> + 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 the <span class="emphasis"><em>current</em></span> contents + of the file, not on what was last loaded by the server. + </p><p> + By default, the <code class="structname">pg_hba_file_rules</code> view can be read + only by superusers. + </p><div class="table" id="id-1.10.4.73.6"><p class="title"><strong>Table 51.72. <code class="structname">pg_hba_file_rules</code> Columns</strong></p><div class="table-contents"><table class="table" summary="pg_hba_file_rules Columns" border="1"><colgroup><col /></colgroup><thead><tr><th class="catalog_table_entry"><p class="column_definition"> + Column Type + </p> + <p> + Description + </p></th></tr></thead><tbody><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">line_number</code> <code class="type">int4</code> + </p> + <p> + Line number of this rule in <code class="filename">pg_hba.conf</code> + </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">type</code> <code class="type">text</code> + </p> + <p> + Type of connection + </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">database</code> <code class="type">text[]</code> + </p> + <p> + List of database name(s) to which this rule applies + </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">user_name</code> <code class="type">text[]</code> + </p> + <p> + List of user and group name(s) to which this rule applies + </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">address</code> <code class="type">text</code> + </p> + <p> + Host name or IP address, or one + of <code class="literal">all</code>, <code class="literal">samehost</code>, + or <code class="literal">samenet</code>, or null for local connections + </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">netmask</code> <code class="type">text</code> + </p> + <p> + IP address mask, or null if not applicable + </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">auth_method</code> <code class="type">text</code> + </p> + <p> + Authentication method + </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">options</code> <code class="type">text[]</code> + </p> + <p> + Options specified for authentication method, if any + </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition"> + <code class="structfield">error</code> <code class="type">text</code> + </p> + <p> + If not null, an error message indicating why this + line could not be processed + </p></td></tr></tbody></table></div></div><br class="table-break" /><p> + Usually, a row reflecting an incorrect entry will have values for only + the <code class="structfield">line_number</code> and <code class="structfield">error</code> fields. + </p><p> + See <a class="xref" href="client-authentication.html" title="Chapter 20. Client Authentication">Chapter 20</a> for more information about + client authentication configuration. + </p></div><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="view-pg-group.html" title="51.70. pg_group">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="catalogs.html" title="Chapter 51. System Catalogs">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="view-pg-indexes.html" title="51.72. pg_indexes">Next</a></td></tr><tr><td width="40%" align="left" valign="top">51.70. <code xmlns="http://www.w3.org/1999/xhtml" class="structname">pg_group</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 13.4 Documentation">Home</a></td><td width="40%" align="right" valign="top"> 51.72. <code xmlns="http://www.w3.org/1999/xhtml" class="structname">pg_indexes</code></td></tr></table></div></body></html>
\ No newline at end of file |