Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Role does not exist when running script.

Status
Not open for further replies.

craig322

MIS
Apr 19, 2001
108
US
I can run the following command with no problem on my database.

/usr/bin/vacuumdb --verbose --analyze --all -U super_user

But if I try to execute it via a shell script, I receive the following error. The role does exist in the database.

does not existnot connect to database postgres: FATAL: role "super_user

I am new to postgresql so any help would be greatly appreciated.
 
Actually that was my second attempt. The postgres user gives me the same message, so I tried creating a new super user to see if it would work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top