3 ms·
Very interesting although I'm not sure about the last point where the author assert that transaction errors can't be managed inside a pl/pgsql function. It's a
by Twisell 9y ago
Very interesting although I'm not sure about the last point where the author assert that transaction errors can't be managed inside a pl/pgsql function.
It's a little bit twisted but I think you could write a pl/pgsql function that act as a client of it's own database using fdw or dblink.
This is however pretty twisted and might have side effect but I'm pretty curious about that.
Technically the author is still damn right because this will be using a client library at some point as he explain.