pg_ident.conf

pg_ident.conf#

通常はpg_ident.conf を変更する必要はありません。デフォルトでは、TPAはそれを変更しません。

pg_ident.conf を好きなコンテンツに置き換えるようにpostgres_ident_template を設定できます。

cluster_vars:
    pg_ident_template: ident.j2

クラスターディレクトリにtemplates/ident.j2 も作成する必要があります。

{% for u in [unixuser1, unixuser2] %}
mymap {{ u }} dbusername
{% endfor %}