From: Bo?ena Potempa <Bozena.Potempa@otc.pl>
To: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: PostgreSQL+ Beta bug?
Date: Wed, 20 Nov 2002 17:48:42 +0100
Message-ID: <MKEIIFDEFPOPHIPFIFJCKEFKDHAA.Bozena.Potempa@otc.pl> (raw)
In-Reply-To: <3DDAD131.95497251@tpf.co.jp>
[..]
>According to an ODBC related document, the behavior of ODBC
>functions in such case is undefined and it is driver-specific
>if a driver handles this correctly.
OK. If it is driver-specific then why don't allow users to
to use this feature if it is implemented in the server?
>> insert/read data entirely making usage of provided length.
>> Is it implemented like that?
>
>No and how can I implement it ?
>Must I convert '\0' to "|| chr(0) ||" where there's no
>guarantee that it works ?
Why not?
Your statement suggests that parameter values are hard-coded
into SQL statements by ODBC driver. Is that true?
If you encode 0 as "|| chr(0) ||" it will change nothing:
if the server is able to store something after 0 then
it will be stored, otherwise not. If you afraid then
maybe this behaviour can be implemented as an option
to the ODBC data source (like "LF<->CR/LF Conversion")?
Is it much work to add such option?
Best regards,
Bozena Potempa
P.S.
0s in strings are important for some of our customers,
storing very strange things in their old Clipper
applications.
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: Bozena.Potempa@otc.pl, Inoue@tpf.co.jp
Subject: Re: PostgreSQL+ Beta bug?
In-Reply-To: <MKEIIFDEFPOPHIPFIFJCKEFKDHAA.Bozena.Potempa@otc.pl>
References: <3DDAD131.95497251@tpf.co.jp> <MKEIIFDEFPOPHIPFIFJCKEFKDHAA.Bozena.Potempa@otc.pl>
* 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