X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D8A555281C for ; Fri, 3 Jun 2005 04:38:23 -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 68488-01 for ; Fri, 3 Jun 2005 07:38:21 +0000 (GMT) Received: from terminus.dnttm.ro (terminus.dnttm.ro [193.226.98.11]) by svr1.postgresql.org (Postfix) with ESMTP id 8125452802 for ; Fri, 3 Jun 2005 04:38:18 -0300 (ADT) Received: from nutzi (dnt-gw-softnrg.dnttm.ro [193.226.89.168]) by terminus.dnttm.ro (8.13.3/8.12.9) with SMTP id j537bdQP031224; Fri, 3 Jun 2005 10:38:16 +0300 Received: by nutzi (VPOP3 - Unregistered) with SMTP; Fri, 3 Jun 2005 10:44:14 +0300 Received: from 127.0.0.1 (AVG SMTP 7.0.322 [267.5.1]); Fri, 03 Jun 2005 10:44:14 +0300 Message-ID: <42A00A4E.5000500@softnrg.dnttm.ro> Date: Fri, 03 Jun 2005 10:44:14 +0300 From: Andrei Gaspar User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en To: Jonathan Fuerth Cc: pgsql-odbc@postgresql.org Subject: Re: Frontend/Backend protocol 3.0 References: In-Reply-To: X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Server: VPOP3 V1.2.0d Evaluation X-Virus-Scanned: ClamAV 0.85.1/899/Mon May 30 09:57:01 2005 clamav-milter version 0.80j on localhost X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200506/7 X-Sequence-Number: 5394 That is great. I've been using psqlodbc and missed a proper error code / sqlstate Andrei Jonathan Fuerth wrote: > Hello people, > > I've taken a few days to hack in support for the frontend/backend > protocol v3.0 (which first appeared in PostgreSQL 7.4). My main > motivator was to get at the SQLSTATE codes which backends >= 7.4 > return with every error message. > > What's done now: > -read the new message length field from all server responses > -Parse new-style error/notice blocks > -return correct SQLSTATE from backend to ODBC callers (connection and > result level) > -added #ifdef so the driver compiles against newer iODBC headers > > What I intend to finish this week: > -upgrade the function call API to new protocol > > What needs doing that I can't/won't finish soon: > -upgrade Windows configuration GUI to add new "7.4" protocol option > -take advantage of the new transaction status byte in 'Z' messages > (my patch just ignores them) > -rework prepared statement stuff to use the new protocol features (I > haven't looked at this stuff at all, but the old code works on the new > protocol--it could be faster, that's all) > > If there is any interest in this patch, I will post it to the list, or > email it to individuals. > > Regards, > > -Jonathan Fuerth > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if > your > joining column's datatypes do not match > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.5.1 - Release Date: 6/2/2005