public inbox for [email protected]
help / color / mirror / Atom feedFrom: Catonano <[email protected]>
To: [email protected]
Subject: the wire protocol
Date: Sat, 19 Jan 2019 14:56:09 +0100
Message-ID: <CAJ98PDxahpFQA_3kErKHwtYmZY36GfELAycts4GZ6BLkzhFb5Q@mail.gmail.com> (raw)
Hello,
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
Do they use the C library, libpq ?
Or do they manage the connection in their own code ?
Should I use libpq ?
Or should I manage the connection in my own code ?
In Guile I can manipulate sockets and the semantics are pretty close to the
ones of plain C
So even an example in C would be fine
I'd like to use a Unix socket
I hope this was the right mailing list for this question
If it's not, i apologize
Thanks in advance
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: the wire protocol
In-Reply-To: <CAJ98PDxahpFQA_3kErKHwtYmZY36GfELAycts4GZ6BLkzhFb5Q@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox