X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 376B89DC82A for ; Tue, 20 Dec 2005 04:42:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32927-09 for ; Tue, 20 Dec 2005 04:42:53 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by postgresql.org (Postfix) with ESMTP id 4FAD99DC822 for ; Tue, 20 Dec 2005 04:42:49 -0400 (AST) Received: from junk.nocrew.org ([85.226.170.234] [85.226.170.234]) by mxfep02.bredband.com with ESMTP id <20051220084250.KWMB17186.mxfep02.bredband.com@junk.nocrew.org>; Tue, 20 Dec 2005 09:42:50 +0100 Received: from tomas by junk.nocrew.org with local (Exim 4.50) id 1Eod58-0004Tl-6c; Tue, 20 Dec 2005 09:42:50 +0100 To: Ludek Finstrle Cc: pgsql-odbc@postgresql.org Subject: Re: patch for cleanup protocol References: <20051219220652.GA17658@soptik.pzkagis.cz> From: tomas@nocrew.org (=?iso-8859-1?q?Tomas_Sk=E4re?=) Date: Tue, 20 Dec 2005 09:42:50 +0100 In-Reply-To: <20051219220652.GA17658@soptik.pzkagis.cz> (Ludek Finstrle's message of "Mon, 19 Dec 2005 23:06:52 +0100") Message-ID: <803bkognw5.fsf@junk.nocrew.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/259 X-Sequence-Number: 6738 Ludek Finstrle writes: > Hello, > > protocol option is no longer used with libpq driver version. > So I clean up the code. I try change both languages (English and Japanese). > I didn't sure how to clean up faq.html so I don't do it. > > Please review and comment I'm not qualified to tell if the changes are correct, but I just noticed this one thing: > diff -c psqlodbc.orig\dlg_specific.c psqlodbc.full\dlg_specific.c > *** psqlodbc.orig\dlg_specific.c Wed Nov 30 13:44:16 2005 > --- psqlodbc.full\dlg_specific.c Mon Dec 19 23:33:09 2005 > *************** > *** 65,72 **** > ";%s=%s;%s=%s;%s=%s;%s=%s;%s=%s;%s=%s;%s=%s;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%s;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d;%s=%d", > INI_READONLY, > ci->onlyread, > - INI_PROTOCOL, > - ci->protocol, > INI_FAKEOIDINDEX, > ci->fake_oid_index, > INI_SHOWOIDCOLUMN, > --- 65,70 ---- If you remove these arguments, you have to remove the corresponding (second from start) "%s=%s" pair from the format string, otherwise it'll use the wrong variables for the %d's further on. Tomas