From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: fully qualified domain names and .pgpass
Date: Tue, 4 Oct 2022 18:58:01 -0500
Message-ID: <01fe52eb-a455-778b-d687-8b95c16e3ab9@gmail.com> (raw)
In-Reply-To: <20221004173311.uysuoi3uiynq6u23@alvherre.pgsql>
References: <20221004173311.uysuoi3uiynq6u23@alvherre.pgsql>
On 10/4/22 12:33, Alvaro Herrera wrote:
> On 2022-Oct-04, Ron wrote:
>
>> Sometimes (both interactively and via script) I access a remote Pg server
>> via just the bare host name "foobar", and other times via the FQDN
>> "foobar.example.com".
>>
>> I've only been able to get this to work by having two lines in the .pgpass file:
> Maybe it would be simpler to do this using a service definition in the
> ~/.pg_service.conf file.
> https://www.postgresql.org/docs/current/libpq-pgservice.html
That did solve my problem:
pg_backrest --dbname=service=basebackup
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: fully qualified domain names and .pgpass
In-Reply-To: <01fe52eb-a455-778b-d687-8b95c16e3ab9@gmail.com>
References: <20221004173311.uysuoi3uiynq6u23@alvherre.pgsql> <01fe52eb-a455-778b-d687-8b95c16e3ab9@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox