Hacker News new | ask | show | jobs
by petereisentraut 2948 days 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.
1 comments

I use DO for this sort of thing.
You also cannot run VACUUM inside a DO block. It's the same thing underneath.
No, but I use it for the sort of DDL that's missing IF [NOT] EXISTS syntax.