dataset/seed/postgresql/templates/pg_ident.conf

47 lines
1.7 KiB
Text
Raw Normal View History

2023-01-17 21:43:32 +01:00
#RISOTTO: file://usr/share/pgsql/pg_ident.conf.sample
2022-03-08 19:42:28 +01:00
# PostgreSQL User Name Maps
# =========================
#
2023-01-17 21:43:32 +01:00
# Refer to the PostgreSQL documentation, chapter "Client
# Authentication" for a complete description. A short synopsis
# follows.
2022-03-08 19:42:28 +01:00
#
2023-01-17 21:43:32 +01:00
# This file controls PostgreSQL user name mapping. It maps external
# user names to their corresponding PostgreSQL user names. Records
# are of the form:
2022-03-08 19:42:28 +01:00
#
# MAPNAME SYSTEM-USERNAME PG-USERNAME
#
# (The uppercase quantities must be replaced by actual values.)
#
# MAPNAME is the (otherwise freely chosen) map name that was used in
# pg_hba.conf. SYSTEM-USERNAME is the detected user name of the
# client. PG-USERNAME is the requested PostgreSQL user name. The
# existence of a record specifies that SYSTEM-USERNAME may connect as
# PG-USERNAME.
#
2023-01-17 21:43:32 +01:00
# If SYSTEM-USERNAME starts with a slash (/), it will be treated as a
# regular expression. Optionally this can contain a capture (a
2022-03-08 19:42:28 +01:00
# parenthesized subexpression). The substring matching the capture
2023-01-17 21:43:32 +01:00
# will be substituted for \1 (backslash-one) if present in
# PG-USERNAME.
2022-03-08 19:42:28 +01:00
#
# Multiple maps may be specified in this file and used by pg_hba.conf.
#
2023-01-17 21:43:32 +01:00
# 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.
2022-03-08 19:42:28 +01:00
#
# 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
2023-01-17 21:43:32 +01:00
# to SIGHUP the postmaster for the changes to take effect. You can
# use "pg_ctl reload" to do that.
2022-03-08 19:42:28 +01:00
# Put your actual configuration here
# ----------------------------------
2023-01-17 21:43:32 +01:00
# MAPNAME SYSTEM-USERNAME PG-USERNAME
#>GNUNUX
pg_map postgres postgres
#<GNUNUX