PostgreSQL connection error with CodeIgniter:
You have to activate the postgres dll in the xampp php.ini file, uncomment this line by removing ; , otherwise no command will work.
;
;extension=php_pgsql.dll