Moved connection string to config file.

replaced occurances with pg_pconnect($conn_string)