"Lane Van Ingen" <lvaningen(at)esncc(dot)com> writes:
> Can anyone advise how to do this? I want to be able to fire off a VACUUM
> <tbl>
> command at my request.
You can't issue the VACUUM from inside a function, period. It has to be
done from the client end, because it can't run inside a transaction.
regards, tom lane