Re: MD5 Authentication

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: MD5 Authentication
Date: 2009-11-05 15:45:59
Message-ID: 20091105154559.GT5407@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 05, 2009 at 04:32:51PM +0100, Raimon Fernandez wrote:
> Maybe my problem is in sending the correct values, but once I'm sure
> how the format is, I'll be sure where to lookfor ...

Not sure if would help, but it may help running something like psql
under strace and seeing what it puts out onto the network and gets back.
There are other more specialized tools for seeing what's going on, but
strace is pretty easy and generally available. For example:

strace -s 8192 -o out psql template1 -c 'select 1;'
egrep '^(send|recv)' out

Hope that helps!

--
Sam http://samason.me.uk/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rafael Martinez 2009-11-05 15:49:40 Re: MD5 Authentication
Previous Message Scot Kreienkamp 2009-11-05 15:41:54 Re: pg_dump native format will not restore correctly