Re: the wire protocol
От | Tony Locke |
---|---|
Тема | Re: the wire protocol |
Дата | |
Msg-id | CAPpF0yMbHKme1KSqyTF8vA8NQBDpi9MPJ-NjtHAGSz6xm1FJPg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: the wire protocol (John DeSoi <desoi@pgedit.com>) |
Список | 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 по дате отправления: