Re: PostgreSQL from a newcomers perspective - Mailing list pgsql-general

From Martin Marques
Subject Re: PostgreSQL from a newcomers perspective
Date
Msg-id 200312011802.24182.martin@bugs.unl.edu.ar
Whole thread Raw
In response to Re: PostgreSQL from a newcomers perspective  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
El Lun 01 Dic 2003 13:21, Peter Eisentraut escribió:
> B. van Ouwerkerk writes:
> > >Would you care to tell us what you had to do?  Because using the
> > > standard installation I can connect via PHP just fine.
> >
> > I couldn't without modifying either postgresql.conf or start PostgreSQL
> > with --i
>
> There must be something wrong.  PHP should be able to connect via
> Unix-domain sockets.

It does, but I guess only when you don't specify a host.

pg_connect("dbname=DB");

If you specify a host it will use TCP connections.

--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques                  |        mmarques@unl.edu.ar
Programador, Administrador      |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Specify a column without using its name
Next
From: Jonathan Bartlett
Date:
Subject: Re: What is WAL used for?