doc: note use of wildcards in .pgpass file

This commit is contained in:
Ian Barwick
2020-08-19 10:32:34 +09:00
parent b8677a0fa2
commit 7006a6d9c3

View File

@@ -142,6 +142,16 @@ node3:5432:repmgr:postgres:foo
node3:5432:replication:repluser:foo</programlisting>
</para>
<para>
The <filename>~/.pgpass</filename> file can be simplified with the use of wildcards if
there is no requirement to restrict provision of passwords to particular hosts, ports
or databases. The preceding file could then be formatted like this:
<programlisting>
*:*:*:repmgr:foo
*:*:*:postgres:foo
</programlisting>
</para>
<note>
<para>
It's possible to specify an alternative location for the <filename>~/.pgpass</filename> file, either via