pgsql: Prohibit transaction commands in security definer procedures

2018-07-13 Thread Peter Eisentraut
Prohibit transaction commands in security definer procedures Starting and aborting transactions in security definer procedures doesn't work. StartTransaction() insists that the security context stack is empty, so this would currently cause a crash, and AbortTransaction() resets it. This could be

pgsql: Prohibit transaction commands in security definer procedures

2018-07-13 Thread Peter Eisentraut
Prohibit transaction commands in security definer procedures Starting and aborting transactions in security definer procedures doesn't work. StartTransaction() insists that the security context stack is empty, so this would currently cause a crash, and AbortTransaction() resets it. This could be