Sunday, March 28, 2010

How to Execute PostgreSQL Commands Inside Unix Shell Scripts

How to Execute PostgreSQL Commands Inside Unix Shell Scripts: "With the help of the psql interactive terminal, you can execute the psql commands from the shell script. For this purpose, you should enable the password less login by pg_hba.conf, or .pgpass."