Re: fully qualified domain names and .pgpass

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: fully qualified domain names and .pgpass
Дата
Msg-id 20221004173311.uysuoi3uiynq6u23@alvherre.pgsql
обсуждение исходный текст
Ответ на fully qualified domain names and .pgpass  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: fully qualified domain names and .pgpass  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general
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

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



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

Предыдущее
От: Ron
Дата:
Сообщение: fully qualified domain names and .pgpass
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: fully qualified domain names and .pgpass