X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BF919DB243 for ; Fri, 28 Oct 2005 11:36:47 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77602-02 for ; Fri, 28 Oct 2005 14:36:43 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 762C5DB248 for ; Fri, 28 Oct 2005 11:36:45 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j9SEaheF007276 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Oct 2005 08:36:46 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id j9SEahdL085314; Fri, 28 Oct 2005 08:36:43 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id j9SEafPC085313; Fri, 28 Oct 2005 08:36:41 -0600 (MDT) (envelope-from mfuhr) Date: Fri, 28 Oct 2005 08:36:41 -0600 From: Michael Fuhr To: Krisztian Szabo Cc: pgsql-interfaces@postgresql.org Subject: Re: new interface prog Message-ID: <20051028143640.GA85201@winnie.fuhr.org> References: <20051028123002.95266.qmail@web90107.mail.scd.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051028123002.95266.qmail@web90107.mail.scd.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.006 required=5 tests=[AWL=0.006] X-Spam-Score: 0.006 X-Spam-Level: X-Archive-Number: 200510/32 X-Sequence-Number: 5794 On Fri, Oct 28, 2005 at 05:30:02AM -0700, Krisztian Szabo wrote: > I would like to write my own interface to postgres > that communicates via the database socket. > > I found PgPP.pm perl module a very handy tool to > extract the interface protocol from the source code, > but nevertheless it will safe a great deal of time if > there exits a protocol description that help me write > the program. > Can anyone help me find the protocol description? See the "Frontend/Backend Protocol" chapter in the documentation. http://www.postgresql.org/docs/8.0/interactive/protocol.html -- Michael Fuhr