Re: [ADMIN] Scripting postgres commands

2007-12-19 Thread Tom Lane
"Ferry, Craig" <[EMAIL PROTECTED]> writes: > I can run the following command from a command prompt with no problem on my > database. > /usr/bin/vacuumdb --verbose --analyze --all -U postgres > But if I try to execute it via a bash shell script, I receive the following > error. The role does ex

[ADMIN] Scripting postgres commands

2007-12-19 Thread Ferry, Craig
I can run the following command from a command prompt with no problem on my database. /usr/bin/vacuumdb --verbose --analyze --all -U postgres But if I try to execute it via a bash shell script, I receive the following error. The role does exist in the database. does not existnot connect to d