"Florian G. Pflug" <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org