Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 5644A632521 for ; Mon, 26 Oct 2009 20:18:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 59483-03 for ; Mon, 26 Oct 2009 23:18:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id 5BAC96322EB for ; Mon, 26 Oct 2009 20:18:31 -0300 (ADT) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id n9QNHxG12362; Mon, 26 Oct 2009 16:17:59 -0700 Message-ID: <4AE62E21.7040600@hogranch.com> Date: Mon, 26 Oct 2009 16:17:53 -0700 From: John R Pierce User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Alvaro Herrera CC: Raimon Fernandez , pgsql-general@postgresql.org Subject: Re: Implementing Frontend/Backend Protocol TCP/IP References: <92781008-8A70-42CE-A49B-6EE67103FACB@montx.com> <20091026231516.GN8812@alvh.no-ip.org> In-Reply-To: <20091026231516.GN8812@alvh.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.518 tagged_above=-10 required=5 tests=AWL=0.081, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200910/998 X-Sequence-Number: 154692 Alvaro Herrera wrote: >> I'm trying to implement the front-end protocol with TCP from >> REALbasic to PostgreSQL. >> > > That sounds the most difficult way to do it. Can't you just embed > libpq? > yah, seriously. the binary protocol is not considered stable, it can change in subtle ways in each version. libpq handles the current version and all previous versions, and exposes all methods.