Re: the wire protocol - Mailing list pgsql-interfaces

From Tony Locke
Subject Re: the wire protocol
Date
Msg-id CAPpF0yMbHKme1KSqyTF8vA8NQBDpi9MPJ-NjtHAGSz6xm1FJPg@mail.gmail.com
Whole thread Raw
In response to Re: the wire protocol  (John DeSoi <desoi@pgedit.com>)
List pgsql-interfaces
Hi, pg8000 is a pure-python implementation of the wire protocol:


Might be of help.

-Tony

On Tue, 22 Jan 2019, 03:25 John DeSoi <desoi@pgedit.com wrote:

> On Jan 19, 2019, at 7:56 AM, Catonano <catonano@gmail.com> wrote:
>
> there's this Python project using the so called wire protocol (as far as I understand)
>
> https://github.com/MagicStack/asyncpg
>
> I'm caressing the idea to create a GNU Guile based project that does the same thing
>
> But I don't understand how they manage to get the connection to Postgresql, their code is too complicated for me


Here is a Common Lisp library that uses sockets and the wire protocol to work with Postgres.

https://github.com/marijnh/Postmodern

Should be very close to what you want to do with Guile/Scheme.

John DeSoi, Ph.D.


pgsql-interfaces by date:

Previous
From: John DeSoi
Date:
Subject: Re: the wire protocol
Next
From: "Greg Sabino Mullane"
Date:
Subject: DBD::Pg version 3.8.0 released