Re: unknownin/out patch (was [HACKERS] PQescapeBytea is not - Mailing list pgsql-patches

From Tatsuo Ishii
Subject Re: unknownin/out patch (was [HACKERS] PQescapeBytea is not
Date
Msg-id 20020408144513I.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: unknownin/out patch (was [HACKERS] PQescapeBytea is not multibyte aware)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
> >> Also as a side note, I can't get make check to get past initdb if I
> >> configure with --enable-multibyte on CVS tip. Is there a known problem
>
> > News to me --- anyone else seeing that?
>
> FWIW, CVS tip with --enable-multibyte builds and passes regression tests
> here (modulo the horology thing).  I concur with Chris' suggestion that
> you may not have done a clean reconfiguration.  If you're not using
> --enable-depend then a "make clean" is certainly needed.

Try a multibyte encoding database. For example,

$ createdb -E EUC_JP test
$ psql -c 'SELECT SUBSTRING('1234567890' FROM 3)' test
 substring
-----------
 3456
(1 row)

Apparently this is wrong.
--
Tatsuo Ishii

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: unknownin/out patch (was [HACKERS] PQescapeBytea is not multibyte aware)
Next
From: Joe Conway
Date:
Subject: Re: unknownin/out patch (was [HACKERS] PQescapeBytea is