Re: Entities created in one query not available in another in extended protocol

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Entities created in one query not available in another in extended protocol
Дата
Msg-id 9350.1434295885@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Entities created in one query not available in another in extended protocol  (Shay Rojansky <roji@roji.org>)
Ответы Re: Entities created in one query not available in another in extended protocol  (Shay Rojansky <roji@roji.org>)
Список pgsql-hackers
Shay Rojansky <roji@roji.org> writes:
> [ rely on non-blocking sockets to avoid deadlock ]

Yeah, that's pretty much the approach libpq has taken: write (or read)
when you can, but press on when you can't.

> The main issue I'm concerned about
> is SSL/TLS, which is a layer on top of the sockets and which might not work
> well with non-blocking sockets...

We have not had word of any such problem with libpq.  It's possible that
the intersection of SSL users with non-blocking-mode users is nil, but
I kinda doubt that.  You do need to interpret openssl's return codes
correctly ...
        regards, tom lane



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: On columnar storage
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: On columnar storage