doc: note use of wildcards in .pgpass file

This commit is contained in:
Ian Barwick
2020-08-19 10:32:34 +09:00
parent 20100f5aaa
commit c50a2d049c

View File

@@ -142,6 +142,16 @@ node3:5432:repmgr:postgres:foo
node3:5432:replication:repluser:foo</programlisting> node3:5432:replication:repluser:foo</programlisting>
</para> </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> <note>
<para> <para>
It's possible to specify an alternative location for the <filename>~/.pgpass</filename> file, either via It's possible to specify an alternative location for the <filename>~/.pgpass</filename> file, either via