"Peter J. Holzer" <hjp-pgsql@hjp.at> writes:
> Can those signals be safely ignored? Just blocking them (so that they
> are delivered after the UDF finishes) might be safer. But even that may
> be a problem: If the UDF then executes some SQL, could that rely on
> signals being delivered? I have no idea.
The minute you start fooling with a backend's signal behavior, we're
going to politely refuse to support whatever breakage you run into.
We aren't sending those signals just for amusement's sake.
regards, tom lane