RE: Problem with 7.0.3 dump -> 7.1b4 restore

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: rmager(at)vgkk(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: RE: Problem with 7.0.3 dump -> 7.1b4 restore
Date: 2001-02-28 02:02:20
Message-ID: 20010228110220G.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

> Attached is a single INSERT that shows the problem. The character after the
> word "Fiber" truncates the text when using JDBC. NOTE, the text IS in the
> database, that is, the dump/restore seems ok, the problem is when trying to
> read the text later. The database is UTF8 and I just tested with beta 5.
>
> Oh, BTW, if I try to set (INSERT) this same character via JDBC and then
> retreive it again then everything is fine.

I have tested your data using psql:

unicode=# create table pr_prop_info(i1 int, i2 int, i3 int, t text);
CREATE
unicode=# \encoding LATIN1
unicode=# \i example.sql
INSERT 2378114 1
unicode=# select * from pr_prop_info;

The character after the word "Fiber" looks like "­Optic Cable". So as
long as the server/client encoding set correctly, it looks ok. I guess
we have some problems with JDBC driver. Unfortunately I am not a Java
guru at all. Can anyone look into our JDBC driver regarding this
problem?
--
Tatsuo Ishii

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Hentosh 2001-02-28 05:56:48 Re: Intermittent Regression test failure in create_misc
Previous Message Tatsuo Ishii 2001-02-28 01:30:21 RE: Problem with 7.0.3 dump -> 7.1b4 restore

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-02-28 03:07:06 Re: Release in 2 weeks ...
Previous Message Tatsuo Ishii 2001-02-28 01:30:21 RE: Problem with 7.0.3 dump -> 7.1b4 restore