Re: Strange error (Socket command option unknown)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Carlos Moreno <moreno(at)mochima(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange error (Socket command option unknown)
Date: 2003-02-25 03:52:53
Message-ID: 7437.1046145173@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Carlos Moreno <moreno(at)mochima(dot)com> writes:
> checking the man pages, I came up with:
> tcpdump -i local port 5432
> I then connected using psql -h localhost, as a test;
> it seems to be showing only timing and length information.

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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Luc Martienau 2003-02-25 04:41:09 Re: 7.4?
Previous Message Drew Wilson 2003-02-25 02:29:27 how to detect errors in statements piped to psql?