Re: blocking function in PL/Python

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: blocking function in PL/Python
Дата
Msg-id 45542ADA.2030602@archonet.com
обсуждение исходный текст
Ответ на blocking function in PL/Python  (Ottavio Campana <ottavio@campana.vi.it>)
Список pgsql-general
Ottavio Campana wrote:
> suppose we have a stored procedure written in PL/Python.
>
> What happens if the function blocks for a while?
>
> Does the server still works for the other clients?

Yes. Each client has its own backend process.

Although, if you've taken locks that might block other clients.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: AutoVacuum on demand?
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: postgres at startup