Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WxSTE-0004T7-Kc for pgsql-odbc@arkaria.postgresql.org; Thu, 19 Jun 2014 02:53:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WxSTD-0005nQ-4P for pgsql-odbc@arkaria.postgresql.org; Thu, 19 Jun 2014 02:52:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WxSTC-0005m0-Dl for pgsql-odbc@postgresql.org; Thu, 19 Jun 2014 02:52:58 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WxST7-00037k-V0 for pgsql-odbc@postgresql.org; Thu, 19 Jun 2014 02:52:57 +0000 Received: from ayaki.localdomain (58-7-63-35.dyn.iinet.net.au [58.7.63.35]) by mrelayeu.kundenserver.de (node=mreue103) with ESMTP (Nemesis) id 0MASzq-1WqM0H3Vqk-00BaPh; Thu, 19 Jun 2014 04:52:52 +0200 Message-ID: <53A2507F.808@2ndquadrant.com> Date: Thu, 19 Jun 2014 10:52:47 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "pgsql-odbc@postgresql.org" Subject: Removing support for v1 and v2 protocols? X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:WAJ+1N5N7jBJ+JRmMsIaaIJi3Rt9Gf49G41Le1s51zm vXQANUFWZOGsbORngpD5dk6/ITFv40RFRb7TUiJKOfd8KD7jIP RNYmDmgAXs5mibPNJ2dGeUfraphxPPYjxreNmuBFASCKx75Evb XLF53TMRVyxYvNIXHc8f39pde7Gbkm9/d7OwLR4VOorJpU0igS Relwh+EwRGVhd9Mv4qVcZrgcaxCa1ztWJnwVBCQ/7gT6j7qour gyzR+rxLbj86r0R+NN4476L0IMiLP79JJPTmchcMEyxBrY0mq3 ghW9+B3uGkA/7G16dfvz9a5nUKN8aAAj168ws6iN9cCGqZqX0J fSKmRDtM+X5JuaYe38s4= X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Hi I've just found a bug (followup mail to come) that seems to be tied up in support for the old v1/v2 protocols. Is there any reason to keep all that cruft? v3 was introduced in 7.4, in 2003-11-17 . Also, I'm wondering why psqlODBC does so much of its own protocol handling. It links to libpq, why doesn't it use it? There's a lot of complicated code in there - see, e.g. CC_send_query_append, that seems to duplicate much of what libpq its self does, and mix protocol handling up with client driver logic. I'm sure the bug I've just found isn't the only one lurking in that protocol code. How much of it can just be removed by adopting more of libpq? -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc