pg_ident.conf.sample

来自「PostgreSQL 8.1.4的源码 适用于Linux下的开源数据库系统」· SAMPLE 代码 · 共 37 行

SAMPLE
37
字号
# PostgreSQL Ident Authentication Maps# ====================================## Refer to the PostgreSQL Administrator's Guide, chapter "Client# Authentication" for a complete description.  A short synopsis# follows.## This file controls PostgreSQL ident-based authentication. It maps# ident user names (typically Unix user names) to their corresponding# PostgreSQL user names.  Records are of the form:## MAPNAME  IDENT-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.  IDENT-USERNAME is the detected user name of the# client.  PG-USERNAME is the requested PostgreSQL user name.  The# existence of a record specifies that IDENT-USERNAME may connect as# PG-USERNAME.  Multiple maps may be specified in this file and used# by pg_hba.conf.## 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# to SIGHUP the postmaster for the changes to take effect.  You can use# "pg_ctl reload" to do that.# Put your actual configuration here# ----------------------------------## No map names are defined in the default configuration.  If all ident# user names and PostgreSQL user names are the same, you don't need# this file.  Instead, use the special map name "sameuser" in# pg_hba.conf.# MAPNAME     IDENT-USERNAME    PG-USERNAME

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?