"Stephane Charette" <stephanecharette(at)telus(dot)net> writes:
> Now I've made a change and I find myself using the command "vacuumdb
> -f foo" to perform a full vacuum. However, I've noticed that vacuum
> full seems to return non-zero return values much more often.
This is not a very useful statement. What would be useful is to see the
error messages you are getting. (Look in the postmaster log, if your
script is discarding stderr.)
regards, tom lane