Re: PostgreSQL from a newcomers perspective

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>, "B(dot) van Ouwerkerk" <bvo(at)atz(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL from a newcomers perspective
Date: 2003-12-01 21:02:24
Message-ID: 200312011802.24182.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)unl(dot)edu(dot)ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ericson Smith 2003-12-01 21:03:02 Re: Good open source mailing list system PHP / Postgresql
Previous Message scott.marlowe 2003-12-01 21:02:01 Re: Good open source mailing list system PHP / Postgresql