Re: modifying the tbale function - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: modifying the tbale function
Date
Msg-id 87odmphvrh.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: modifying the tbale function  ("Florian G. Pflug" <fgp@phlo.org>)
Responses Re: modifying the tbale function
List pgsql-hackers
"Florian G. Pflug" <fgp@phlo.org> writes:

> Since context switching would occur only at two well-defined places
> (Some return_next_row function that PLs call when a SFR returns a row,
> and in the executor if no more previously returned rows from that SFR
> are available), this wouldn't introduce the usual multithreading
> headache...

Yes it would. Consider what happens if the PL function calls into SPI to
execute a query....

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: modifying the tbale function
Next
From: Andrew Dunstan
Date:
Subject: Re: Buildfarm feature request: some way to track/classify failures