Re: [HACKERS] Adding connection id in the startup message

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Adding connection id in the startup message
Дата
Msg-id d06000f2-2acd-07a8-5ec6-874514f0763a@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] Adding connection id in the startup message  (Satyanarayana Narlapuram <Satyanarayana.Narlapuram@microsoft.com>)
Ответы Re: [HACKERS] Adding connection id in the startup message  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On 6/15/17 03:11, Satyanarayana Narlapuram wrote:
> Client adds a connection id in the startup message and send it to the
> server it is trying to connect to. Proxy logs the connection id
> information in its logs, and passes it to the server. Server logs the
> connection Id in the server log, and set it in the GUC variable
> (ConnectionId).

If you're using pgbouncer or similar, then it might reuse an already
existing connection, so your connection ID wouldn't be passed on.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] intermittent failures in Cygwin from select_parallel tests
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: [HACKERS] Disallowing multiple queries per PQexec()