Re: Wired-Protocol Specification?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Wired-Protocol Specification?
Date: 2017-02-21 21:30:24
Message-ID: 8a07b7e0-f0a5-8772-9f5a-ff268f969ed3@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/21/2017 1:12 PM, Ozz Nixon wrote:
> I am working on a project which needs me to implement the direct “wired-protocol” to talk to pgsql. One side, I talk to pgsql, the other side, I need to make a listener which accepts the protocol from pgsql’s and mysql’s ODBC (talking wired to both). [sorry if Wired is not the correct term, that is what I was assigned to do… so I am asking here].
>
> URL?
>
> I have an example of coding this in python, but only does like 5 commands. w/o documentation of where they found the specs.

dare I ask why you can't use libpq or another existing language binding
? writing a custom binding ties you down to a lifetime of tracking
version updates...

if you really must, start here,
https://www.postgresql.org/docs/current/static/protocol.html

then look at the source to libpq, and/or pg-jdbc, and/or PyGreSQL and/or
Psycopg to work out implementation details.

--
john r pierce, recycling bits in santa cruz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2017-02-21 21:38:47 Re: NOTIFY command impact
Previous Message Tom Lane 2017-02-21 21:28:13 Re: Wired-Protocol Specification?