Thread: plpgsql - raising exceptions with open cursors

plpgsql - raising exceptions with open cursors

From
Tim Penhey
Date:
I am writing a plpgsql function and I have come across the situation
where I want to raise an exception, but there are cursors open.

Do these need to be closed before raising the exception or is that all
handled for me?

Thanks,
Tim