3 ms·
Only one: the ability to BEGIN/ROLLBACK/COMMIT in the body of the function.
by cryptonector 8y ago
Only one: the ability to BEGIN/ROLLBACK/COMMIT in the body of the function.
- saltcured 8y agoAnd, this is just adding new syntactic support for SQL standards compliance, right? I don't think it's really a new control-flow if you ignore syntactic differences. I think you can get the equivalent behavior out of BEGIN/EXCEPT blocks in plpgsql functions. I think this behaves as if you used SAVEPOINT and ROLLBACK TO SAVEPOINT which have been directly supported in postgresql but not in functions.