Is libpq re-entrant?

Поиск
Список
Период
Сортировка
От Ian Grant
Тема Is libpq re-entrant?
Дата
Msg-id Pine.LNX.3.96.990201083126.27381B-100000@wimp.amtp.cam.ac.uk
обсуждение исходный текст
Ответы Re: [HACKERS] Is libpq re-entrant?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Dear Hackers,

Can anyone confirm for me that libpq is re-entrant. Ie, it is safe to
execute libpq calls from within a signal handler when that signal could've
interrupted a libpq function? Of course I don't expect to be able to use
the same PGconn or PGresult structures inside the signal handler as
outside.

I've looked through the 6.4.2 libpq documentation and it doesn't say,
although the existence of non-blocking calls implies it could be made
re-entrant quite easily.

Many thanks
Ian



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

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] READ COMMITTED isolevel is implemented ...
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: [HACKERS] READ COMMITTED isolevel is implemented ...