Martin Čaj 0e8bcf
# PostgreSQL User Name Maps
Martin Čaj 0e8bcf
# =========================
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# Refer to the PostgreSQL documentation, chapter "Client
Martin Čaj 0e8bcf
# Authentication" for a complete description.  A short synopsis
Martin Čaj 0e8bcf
# follows.
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# This file controls PostgreSQL user name mapping.  It maps external
Martin Čaj 0e8bcf
# user names to their corresponding PostgreSQL user names.  Records
Martin Čaj 0e8bcf
# are of the form:
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# MAPNAME  SYSTEM-USERNAME  PG-USERNAME
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# (The uppercase quantities must be replaced by actual values.)
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# MAPNAME is the (otherwise freely chosen) map name that was used in
Martin Čaj 0e8bcf
# pg_hba.conf.  SYSTEM-USERNAME is the detected user name of the
Martin Čaj 0e8bcf
# client.  PG-USERNAME is the requested PostgreSQL user name.  The
Martin Čaj 0e8bcf
# existence of a record specifies that SYSTEM-USERNAME may connect as
Martin Čaj 0e8bcf
# PG-USERNAME.
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# If SYSTEM-USERNAME starts with a slash (/), it will be treated as a
Martin Čaj 0e8bcf
# regular expression.  Optionally this can contain a capture (a
Martin Čaj 0e8bcf
# parenthesized subexpression).  The substring matching the capture
Martin Čaj 0e8bcf
# will be substituted for \1 (backslash-one) if present in
Martin Čaj 0e8bcf
# PG-USERNAME.
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# Multiple maps may be specified in this file and used by pg_hba.conf.
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# No map names are defined in the default configuration.  If all
Martin Čaj 0e8bcf
# system user names and PostgreSQL user names are the same, you don't
Martin Čaj 0e8bcf
# need anything in this file.
Martin Čaj 0e8bcf
#
Martin Čaj 0e8bcf
# This file is read on server startup and when the postmaster receives
Martin Čaj 0e8bcf
# a SIGHUP signal.  If you edit the file on a running system, you have
Martin Čaj 0e8bcf
# to SIGHUP the postmaster for the changes to take effect.  You can
Martin Čaj 0e8bcf
# use "pg_ctl reload" to do that.
Martin Čaj 0e8bcf
Martin Čaj 0e8bcf
# Put your actual configuration here
Martin Čaj 0e8bcf
# ----------------------------------
Martin Čaj 0e8bcf
Martin Čaj 0e8bcf
# MAPNAME       SYSTEM-USERNAME         PG-USERNAME