Re: connection failures on forked processes

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: connection failures on forked processes
Дата
Msg-id CAM9w-_nHfyR=QoGM1eKpQn91Jx07g4KjKJE+VZEthDzePsvZJQ@mail.gmail.com
обсуждение исходный текст
Ответ на connection failures on forked processes  (Jim Popovitch <jim.popovitch@replatformtech.com>)
Список pgadmin-hackers
Hi Jim,

This is the pgAdmin mailing list. pgsql-hackers@postgresql.org is the email which might help.

On Fri, Jun 10, 2022 at 9:07 PM Jim Popovitch <jim.popovitch@replatformtech.com> wrote:
Hello!

We are seeing connection failures when using "sslmode=require" on forked connections.  Attached is example code that makes 2 passes. The first pass uses "sslmode=disable" and the second uses "sslmode=require".  The first pass completes successfully, but the second pass fails.  I'm looking for insight as to why this might be happening.

Note: we are very aware of the dev notes about forking, however know that we are not sharing the forked connection, we simply open the connection in the parent thread and then pass that to the child thread to use.

Thank you for any insight,

-Jim P.


--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"

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

Предыдущее
От: Jim Popovitch
Дата:
Сообщение: connection failures on forked processes
Следующее
От: Aditya Toshniwal
Дата:
Сообщение: [pgAdmin][RM7468] Query history empty