Y
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
cryptonector
2948 days ago
I use DO for this sort of thing.
link
petereisentraut
2948 days ago
You also cannot run VACUUM inside a DO block. It's the same thing underneath.
link
cryptonector
2948 days ago
No, but I use it for the sort of DDL that's missing IF [NOT] EXISTS syntax.
link