Re: fully qualified domain names and .pgpass

Поиск
Список
Период
Сортировка
От Ron
Тема Re: fully qualified domain names and .pgpass
Дата
Msg-id 01fe52eb-a455-778b-d687-8b95c16e3ab9@gmail.com
обсуждение исходный текст
Ответ на Re: fully qualified domain names and .pgpass  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-general
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.



В списке pgsql-general по дате отправления:

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Postgres calendar?
Следующее
От: Joshua Drake
Дата:
Сообщение: Re: Postgres calendar?