From 7006a6d9c3f770ff36fedac6835710cb6ca93b05 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 19 Aug 2020 10:32:34 +0900 Subject: [PATCH] doc: note use of wildcards in .pgpass file --- doc/configuration-password-management.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/configuration-password-management.xml b/doc/configuration-password-management.xml index 7e02b579..b083044b 100644 --- a/doc/configuration-password-management.xml +++ b/doc/configuration-password-management.xml @@ -142,6 +142,16 @@ node3:5432:repmgr:postgres:foo node3:5432:replication:repluser:foo + + The ~/.pgpass 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: + +*:*:*:repmgr:foo +*:*:*:postgres:foo + + + It's possible to specify an alternative location for the ~/.pgpass file, either via