I have created a job using pgagent as follows: <http://postgresql.nabble.com/file/n5834094/pic1.png> <http://postgresql.nabble.com/file/n5834094/pic2.png> <http://postgresql.nabble.com/file/n5834094/pic3.png> <http://postgresql.nabble.com/file/n5834094/pic4.png> But when I am running the job I am getting error as follows: <http://postgresql.nabble.com/file/n5834094/pic5.png> <http://postgresql.nabble.com/file/n5834094/pic6.png> Error is like the following: Could not connect to the database ! Please help me guys. How can I solve this?? -- View this message in context: http://postgresql.nabble.com/pgagent-jobs-Could-not-connect-to-the-database-tp5834094.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general