From: tomas@nocrew.org
To: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: patch for cleanup protocol
Date: Tue, 20 Dec 2005 09:42:50 +0100
Message-ID: <803bkognw5.fsf@junk.nocrew.org> (raw)
In-Reply-To: <20051219220652.GA17658@soptik.pzkagis.cz>
References: <20051219220652.GA17658@soptik.pzkagis.cz>
Ludek Finstrle <luf@pzkagis.cz> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: tomas@nocrew.org, luf@pzkagis.cz
Subject: Re: patch for cleanup protocol
In-Reply-To: <803bkognw5.fsf@junk.nocrew.org>
References: <20051219220652.GA17658@soptik.pzkagis.cz> <803bkognw5.fsf@junk.nocrew.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox