Re: PostgreSQL+ Beta bug? - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: PostgreSQL+ Beta bug?
Date
Msg-id EKEJJICOHDIEMGPNIFIJGEHGJMAA.Inoue@tpf.co.jp
Whole thread Raw
In response to Re: PostgreSQL+ Beta bug?  ("Bo?ena Potempa" <Bozena.Potempa@otc.pl>)
Responses Re: PostgreSQL+ Beta bug?
List pgsql-odbc
> -----Original Message-----
> From: Bo?ena Potempa [mailto:Bozena.Potempa@otc.pl]
>
> Hiroshi,
>
> > >Which version of PostgreSQL server are you connecting ?
> >>
> >> 7.2.3.
> >
> >I can't your case in 7.2.3 but in 7.2.1 the result is
> >  0 0 0 not 0 1 0.
>
> It is more complicated then I thought.
> I have 2 test installations of PostgreSQL: one on Linux
> and the second one on Windows NT, both 7.2.3 version.
> The Linux installation works with 0 stored in varchar
> field (the test results are as described in my previous
> e-mail). The Windows installation does not support zeroes
> in strings!

Hmm the difference may come from (non-)multibyte mode.

> Now I am not sure which behaviour is correct (and planned
> by PostgreSQL developers).

As far as I see PostgreSQL couldn't handle non-null-terminated
strings correctly.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Increase inactivity timeout
Next
From: "Hiroshi Inoue"
Date:
Subject: Re: FATAL 1: Sorry, too many clients already