Buenas tardes.
No logro conectar php5 con postgresql.
Tengo debían con php5 con postgresql 8.3.7, esta instalada la librería 
php-pgsql, reinicie apache2, pero sigo sin conectarme.
El scrip phpinfo() me dice que ve a postgres.
Intento la conexión con
<?php
$conex = pg_connect("host=192.168.1.100 dbname=banco user=postgres 
password=12345") or die ('Fallo conexion');
El mensaje siempre es 'fallo conexion'.

Que mas debo mirar?
Muchas gracias!

________________________________

La información contenida en esta comunicación se dirige exclusivamente para el 
uso de la persona o entidad a quien va dirigida y otros autorizados para 
recibirlo. Puede contener información confidencial o legalmente protegida. Si 
usted no es el destinatario indicado, queda notificado de que cualquier 
revelación, copia, distribución o tomar cualquier acción basada en el contenido 
de esta información está estrictamente prohibida y puede ser ilegal. Si usted 
ha recibido esta comunicación por error, le rogamos nos lo notifique 
inmediatamente respondiendo a este correo y elimine de su sistema. SADAIC no es 
responsable de la transmisión correcta y completa de la información contenida 
en esta comunicación, ni por cualquier retraso en su recepción.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. If 
you are not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or taking any action in reliance on the contents of this 
information is strictly prohibited and may be unlawful. If you have received 
this communication in error, please notify us immediately by responding to this 
email and then delete it from your system. SADAIC is neither liable for the 
proper and complete transmission of the information contained in this 
communication nor for any delay in its receipt.

Responder a