Re: Strange error (Socket command option unknown)

From: Carlos Moreno <moreno(at)mochima(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange error (Socket command option unknown)
Date: 2003-02-25 05:44:25
Message-ID: 3E5B02B9.80900@mochima.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:

>
>I get useful results with
>
>/usr/sbin/tcpdump -x -X -s 0 -i lo port 5432
>
>You do need to use "-h localhost" when connecting with psql.
>

Yes, the -h localhost would be necessary; notice that I want to
eavesdrop on my application (the test with psql was just to
try and see the protocol just to make sure that I understand
the basics before jumping to some serious debugging on my
application). But yes, the above translates to the fact that
I'll have to add host=localhost to the connection string in my
code.

Thanks,

Carlos
--

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2003-02-25 07:48:35 Re: how to detect errors in statements piped to psql?
Previous Message Drew Wilson 2003-02-25 05:39:55 how to detect psql's errors?