Re: how to trace the pgsql text format protocol [implementing driver]

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Gordon Anderson <justgord(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: how to trace the pgsql text format protocol [implementing driver]
Date: 2009-03-13 05:49:44
Message-ID: 49B9F3F8.5090108@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gordon Anderson wrote:
> I wish to implement a postgreSQL driver for a lisp-like language
> [arclanguage.org] - it should speak the pg v2 text format protocol via
> sockets I guess.

You probably should go straight to v3. v2 is quite old by now.

> Im reading the v2 protocol spec, but it would be handy to trace the
> exact text sent back and forth during a psql session - to help me
> understand the protocol and test things out.

Wireshark has a PostgreSQL protocol dissector.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Smet 2009-03-13 08:25:11 Re: Should SET ROLE inherit config params?
Previous Message Robert Treat 2009-03-13 03:43:36 Re: Should SET ROLE inherit config params?