5 ms·
Feature author here. Running not-allowed-in-transaction-block DDL, such as VACUUM, still won't work in stored procedures. Room for future improvement.
by petereisentraut 8y ago
Feature author here. Running not-allowed-in-transaction-block DDL, such as VACUUM, still won't work in stored procedures. Room for future improvement.
- cryptonector 8y agoI use DO for this sort of thing.
- petereisentraut 8y agoYou also cannot run VACUUM inside a DO block. It's the same thing underneath.
- cryptonector 8y agoNo, but I use it for the sort of DDL that's missing IF [NOT] EXISTS syntax.