[CentOS] PostgreSQL 8.1 on CentOS4

Fri Nov 18 20:47:08 UTC 2005
Leonel Nunez <leonel at enelserver.com>

James B. Byrne wrote:

>I have discovered that the default init script distributed with 
>pgsql v8.1 sets the listening port to 5432 but does not enable 
>tcp/ip connections.  One must add the -i switch to the invocation 
>line in the script.  I am not sure if this is an oversight or 
>whether there is another way to tell postmaster to start with 
>tcp/ip listening enabled that I am unaware of.  However, I thought 
>that this information might be of interest to anyone else running a 
>non-distro version of pgsql.
>
>Regards,
>Jim
>
>--   
>     *** e-mail is not a secure channel ***
>mailto:byrnejb.<token>@harte-lyne.ca
>James B. Byrne                Harte & Lyne Limited
>vox: +1 905 561 1241          9 Brockley Drive
>fax: +1 905 561 0757          Hamilton, Ontario
><token> = hal                 Canada L8E 3C3
>
>_______________________________________________
>CentOS mailing list
>CentOS at centos.org
>http://lists.centos.org/mailman/listinfo/centos
>
>
>  
>


edit your  

/var/lib/pgsql/data/postgresql.conf

and set    the variable

listen_addresses



leonel