[Mono-devel-list] RE: [Mono-list] Npgsql sources finally updated!!

Pavlica, Nick Nick.Pavlica@echostar.com
Fri, 17 Oct 2003 13:50:18 -0600


On Fri, 2003-10-17 at 11:21, Francisco Figueiredo Jr. wrote:
> Luciano Callero wrote:
> > 
> > 
> > The default postgre port is 5432. If postgre is configured properly, it 
> > will be listening on this port, and you do not need to open a port.
> > 
> 
> You can enable postgresql to listen tcp connections by two ways.
> 
> passing the -i option to pg_ctl:
> 
> pg_ctl -D <path to your data folder> -o "-i" start
> 
> or changing the postgresql.conf (I think this option is new to 
> postgresql 7.4 I don't know if it is available in 7.3):

This is available in 7.3 and is the best practice for enabling tcp
connections.  Also remember to configure the pg_hba.conf file that is
usually found under /var/lib/pgsql/data/.

> 
> there is a line commented out which says:
> #tcpip_socket = false.
> 
> You just uncomment it and put it true.
> This way you don't need to pass the -i option to pg_ctl.
> 
> Please, let me know if you still get the problem.
> 
> Regards,
> 
> Francisco Figueiredo Jr.
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list