Re: blocking function in PL/Python

From: Richard Huxton <dev(at)archonet(dot)com>
To: Ottavio Campana <ottavio(at)campana(dot)vi(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: blocking function in PL/Python
Date: 2006-11-10 07:31:38
Message-ID: 45542ADA.2030602@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2006-11-10 07:36:59 Re: postgres at startup
Previous Message Richard Broersma Jr 2006-11-10 07:25:13 Re: AutoVacuum on demand?