Ver Mensaje Individual
  #6 (permalink)  
Antiguo 03/09/2008, 13:56
davydky
 
Fecha de Ingreso: agosto-2008
Mensajes: 28
Antigüedad: 15 años, 8 meses
Puntos: 0
Respuesta: problemas con rendimiento de postgres

amigos he estado investigando... y lo q he encontrado es q se tiene q hacer un pequeño tunning al postgresql modificando los archivos: ..

pg_hba.conf
postgresql.conf

ya q como dices esta execediendo el tiempo de respuesta para el acceso a datos..

Este el msj de error desde php:

Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "???" and accepting TCP/IP connections on port 5432? in C:\Program Files\ms4w\Apache\htdocs\conexion.php on line 4

En todo caso aca un enlaces q estoy x probar pero xfa avisen si consiguieron solucionar el problemilla...

[1] http://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html

Y finalmente algo que encotre..

pg_hba.conf
# TYPE DATABASE USER CIDR-ADDRESS METHOD
host all testdb 202.96.209.44/32 md5
host all testdb 22.96.29.144/32 trust
#the trust word means no password

=======================

postgresql.conf
listen_addresses = '*' # what IP address(es) to listen on,defaults to 'localhost', '*' = all.You can a comma-separated list of addresses.

Saludos..!