Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UjuLY-0002dv-0p for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Jun 2013 16:44:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UjuLX-00067n-FE for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Jun 2013 16:44:31 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ujk7I-0003Lo-Ry for pgsql-bugs@postgresql.org; Tue, 04 Jun 2013 05:49:09 +0000 Received: from venus.shibuya.sysart.jp ([219.166.167.154]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ujk7A-0003P5-UE for pgsql-bugs@postgresql.org; Tue, 04 Jun 2013 05:49:07 +0000 Received: (qmail 13003 invoked from network); 4 Jun 2013 11:35:52 -0000 Received: from dhcp-116.shibuya.sysart.jp (HELO ?172.24.64.116?) (172.24.64.116) by venus.shibuya.sysart.jp with SMTP; 4 Jun 2013 11:35:52 -0000 Message-ID: <51AD7FAC.6010504@sysart.jp> Date: Tue, 04 Jun 2013 14:48:28 +0900 From: shuhei_aoyama User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: About omitting ideographic space to create array. Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org To respecting PIC The version I used : postgresql-jdbc-9.1-901.jdbc4 When one of a Postgresql db table has array column which contains Strings. And some of these Array slices contain ideographic space(U+3000 in Unicode6.0). In such a case returned result lacks this ideographic space. My use case is this. An array column has strings of names of image files. And one of these name contains an ideographic space. When a server program got data without this ideographic space and created a hyperlink using this data, our user found the link in a html page dose not work. Because the real file's name contains that ideographic space and the hyperlink dose not. I think an abstract class named AbstractJdbc2Array in the package org.postgresql.jdbc2 dose this mal-effect at line 451-455 as below, // white space else if (!insideString && Character.isWhitespace(chars[i])) { continue; } I know there are some other Whitespace characters like (CR, LF, HT etc.), I tihink at least ideographic space shoud not be ommited. Sincerely Shuhei Aoyama from Tokyo. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs