On 4/30/18 07:01, Daniel Verite wrote: >> As of v11, DO blocks can do transactions. I think this will meet your needs. > > They do support COMMIT and ROLLBACK in the current > development tree, but not VACUUM as in Pierre's example.
Support for VACUUM can be added in the future. There is no big problem with it. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services