connection failures on forked processes

Поиск
Список
Период
Сортировка
От Jim Popovitch
Тема connection failures on forked processes
Дата
Msg-id CANBrmJWTFNJ8iv6AC1AsKy4wQ-sn_Bgb=fyd967v4MZotBDEUg@mail.gmail.com
обсуждение исходный текст
Ответы Re: connection failures on forked processes  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
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.
Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Add header support to text format and matching feature
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Improve TAP tests of pg_upgrade for cross-version tests