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

From Chris Travers
Subject Re: PostgreSQL from a newcomers perspective
Date
Msg-id 001601c3b8bb$342dd580$c100053d@SAMUEL
Whole thread Raw
In response to PostgreSQL from a newcomers perspective  ("B. van Ouwerkerk" <bvo@atz.nl>)
List pgsql-general
----- Original Message -----
From: "B. van Ouwerkerk" <bvo@atz.nl>
> >I couldn't without modifying either postgresql.conf or start PostgreSQL
> >with --i
>
> Only one -
>
Technically speaking this is as much a PHP coding issue as it is a
PostgreSQL issue.  If the PHP connection string has a host field in it,
libpq will try to connect via a tcp/ip rather than local socket.  PHP can
still connect locally if the socket is specified properly (see PHP manual
for information).

I would, however, suggest that this is not expected behavior from a beginner
standpoint, and it would be useful to add a paragraph to the documentation
in the post-install setup section concerning the setting tcpip_sockets in
the postgresql.conf file.  I have seen this one baffle others too,

Best Wishes,
Chris Travers




pgsql-general by date:

Previous
From: Alex
Date:
Subject: Re: PG_DUMP question
Next
From: Bruce Momjian
Date:
Subject: Re: Is it not possible to nest one block within another?