Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glmh0-0007jN-Cz for pgsql-interfaces@arkaria.postgresql.org; Tue, 22 Jan 2019 03:25:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1glmgy-0000zV-Jc for pgsql-interfaces@arkaria.postgresql.org; Tue, 22 Jan 2019 03:25:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glmgy-0000yG-AB for pgsql-interfaces@lists.postgresql.org; Tue, 22 Jan 2019 03:25:36 +0000 Received: from ostrich.birch.relay.mailchannels.net ([23.83.209.138]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glmgv-0006NM-5u for pgsql-interfaces@lists.postgresql.org; Tue, 22 Jan 2019 03:25:35 +0000 X-Sender-Id: a2hosting|x-authuser|desoi@pgedit.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DE4045C3B6A; Tue, 22 Jan 2019 03:25:28 +0000 (UTC) Received: from a2s36.a2hosting.com (unknown [100.96.35.77]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 5E5715C3911; Tue, 22 Jan 2019 03:25:28 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|desoi@pgedit.com Received: from a2s36.a2hosting.com (a2s36.a2hosting.com [216.119.134.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.16.2); Tue, 22 Jan 2019 03:25:28 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|desoi@pgedit.com X-MailChannels-Auth-Id: a2hosting X-Illegal-Duck: 16dbfe5756959064_1548127528641_2068150003 X-MC-Loop-Signature: 1548127528641:2547044523 X-MC-Ingress-Time: 1548127528640 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pgedit.com; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=ivUDibeR/pwAcejhAcpp3YufKEJ5Rb2tRrclJ7hlrhc=; b=FQqKFCCNUk1Jna6pZFfenQ6sMj PDUSEtVeGpO0PUV7gzoi6ULS1RnWn+dHInbns4BJc8GtgMvpD8RSG424MpOGx0K7yDwFcetAL4Uoi 7DctzF7dFSdBZhKOrKc3QR5KRBlXjeTh83AXFyUhZNLRVttzbMNlUagCUnEb1mCpNYaE=; Received: from [136.62.169.253] (port=52462 helo=[10.0.0.25]) by a2s36.a2hosting.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1glmgp-001OAD-8L; Mon, 21 Jan 2019 22:25:27 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: the wire protocol From: John DeSoi In-Reply-To: Date: Mon, 21 Jan 2019 21:25:26 -0600 Cc: pgsql-interfaces@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <5478B796-D5AE-453D-A71C-19A433FBDC1F@pgedit.com> References: To: Catonano X-Mailer: Apple Mail (2.3445.9.1) X-AuthUser: desoi@pgedit.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Jan 19, 2019, at 7:56 AM, Catonano wrote: >=20 > there's this Python project using the so called wire protocol (as far = as I understand) >=20 > https://github.com/MagicStack/asyncpg >=20 > I'm caressing the idea to create a GNU Guile based project that does = the same thing >=20 > 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.