Re: fix psql \conninfo & \connect when using hostaddr

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: fix psql \conninfo & \connect when using hostaddr
Дата
Msg-id 20190613050139.GE271415@rfd.leadboat.com
обсуждение исходный текст
Ответ на Re: fix psql \conninfo & \connect when using hostaddr  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: fix psql \conninfo & \connect when using hostaddr  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
On Wed, Jun 12, 2019 at 02:44:49PM +0200, Fabien COELHO wrote:
> there is no simple way to know whether hostaddr was set at
> the libPQ level

> A solution could be to have a PQdoestheconnectionuseshostaddr(conn)
> function, but I cannot say I'd be thrilled.

PQconninfo() is the official way to retrieve that.



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

Предыдущее
От: Timur Birsh
Дата:
Сообщение: Re: [PATCH] vacuumlo: print the number of large objects going to be removed
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Race conditions with checkpointer and shutdown