Commit 36260432 authored by Tom Lane's avatar Tom Lane

Improve comments in pg_ident.conf.sample.

parent 4616d57d
# PostgreSQL Ident Authentication Maps # PostgreSQL User Name Maps
# ==================================== # =========================
# #
# Refer to the PostgreSQL Administrator's Guide, chapter "Client # Refer to the PostgreSQL Administrator's Guide, chapter "Client
# Authentication" for a complete description. A short synopsis # Authentication" for a complete description. A short synopsis follows.
# follows.
# #
# This file controls PostgreSQL username mapping. It maps # This file controls PostgreSQL username mapping. It maps
# external user names to their corresponding # external user names to their corresponding
...@@ -20,10 +19,15 @@ ...@@ -20,10 +19,15 @@
# PG-USERNAME. # PG-USERNAME.
# #
# If SYSTEM-USERNAME starts with a slash (/), it will be treated as # If SYSTEM-USERNAME starts with a slash (/), it will be treated as
# a regular expression. Up to one capture is allowed, and this will # a regular expression. Optionally this can contain a capture (a
# be replaced in PG-USERNAME for backslash-one (\1) if present. # parenthesized subexpression). The substring matching the capture
# will be substituted for \1 (backslash-one) if present in PG-USERNAME.
# #
# Multiple maps may be specified in this file and used # by pg_hba.conf. # Multiple maps may be specified in this file and used by pg_hba.conf.
#
# No map names are defined in the default configuration. If all system
# user names and PostgreSQL user names are the same, you don't need
# anything in this file.
# #
# This file is read on server startup and when the postmaster receives # This file is read on server startup and when the postmaster receives
# a SIGHUP signal. If you edit the file on a running system, you have # a SIGHUP signal. If you edit the file on a running system, you have
...@@ -32,9 +36,5 @@ ...@@ -32,9 +36,5 @@
# Put your actual configuration here # Put your actual configuration here
# ---------------------------------- # ----------------------------------
#
# No map names are defined in the default configuration. If all system
# user names and PostgreSQL user names are the same, you don't need
# this file.
# MAPNAME SYSTEM-USERNAME PG-USERNAME # MAPNAME SYSTEM-USERNAME PG-USERNAME
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment