From: | "Chris Travers" <chris(at)travelamericas(dot)com> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org>, "B(dot) van Ouwerkerk" <bvo(at)atz(dot)nl> |
Subject: | Re: PostgreSQL from a newcomers perspective |
Date: | 2003-12-02 10:00:01 |
Message-ID: | 001601c3b8bb$342dd580$c100053d@SAMUEL |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
----- Original Message -----
From: "B. van Ouwerkerk" <bvo(at)atz(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Netto | 2003-12-02 11:43:19 | How to obtain the real problem that avoids postgresql service starting? |
Previous Message | Alexander S | 2003-12-02 09:41:30 | bug in 7.4 |