pg_ident.conf

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

postgres_ident_template を設定して、 pg_ident.conf を好きなコンテンツに置き換えることができます。

cluster_vars:
    pg_ident_template: ident.j2

clusterディレクトリにtemplates/ident.j2 を作成する必要もあります。

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