Transaction control in SECURITY DEFINER procedures - Mailing list pgsql-general

From Chris Sterritt
Subject Transaction control in SECURITY DEFINER procedures
Date
Msg-id c1ec321d-8dea-0fed-a40b-1ce18ef964b5@yobota.xyz
Whole thread Raw
Responses Re: Transaction control in SECURITY DEFINER procedures
List pgsql-general

The documentation for CREATE PROCEDURE informs us "A SECURITY DEFINER procedure cannot execute transaction control statements (for example, COMMIT and ROLLBACK, depending on the language)."

Can anyone let me know why this is so and are there any plans to remove this restriction in future releases?

Regards, Chris Sterritt

pgsql-general by date:

Previous
From: Ishan Joshi
Date:
Subject: Auto vacuum not reclaiming the space and disk utilization spike to 100%
Next
From: Robert Inder
Date:
Subject: Basic question about structuring SQL