From: dmp <danap@ttc-cmc.net>
To: "BCH)姜亦敏" <jiangyimin@basechina.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC DatabaseMetaData problem
Date: Fri, 06 Apr 2012 15:05:35 -0600
Message-ID: <4F7F5A9F.1020002@ttc-cmc.net> (raw)
In-Reply-To: <BFD6CE0C5E7B45EAB6B29DCE6D47F096@jiangym>
References: <BFD6CE0C5E7B45EAB6B29DCE6D47F096@jiangym>
BCH)姜亦敏 wrote:
> Hello,
> I have the following problem working with DatabaseMetaData. There is a
> database with table and the attribute of 'cont' is character. Database
> cluster was
> initialized with appropriate ru_RU.KOI8-R locale. All the databases were
> created with utf-8 encoding.
> I use PostgreSQL-8.2compiled from source, JDBC driver from
> on Linux, J2SDK 1.4.2_12.
> update scheduleconttbl set cont ='\xf0\x9f\x99\x8f'
> where logindaytime = '20120406142138813';
> ~
> ~
> ~
> I will appreciate any help with this.
>
> Thank you.
>
>
> Sincerely yours,
> Jiang
Hello,
I just tried this same update on a table with char type with the input
indicated and it works fine on PostgreSQL 9.0.1 with jdbc-9.0-901.jdbc3.
Perhaps you need to update to a newer version of the database if you are
used the recommended supported version and correlated jdbc has indicated
at http://jdbc.postgresql.org/download.html
Version 8.2 Build 512 and JDBC2 8.2-512 JDBC2 which I think supports
JRE 1.4.
danap.
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-jdbc@postgresql.org
Cc: danap@ttc-cmc.net, jiangyimin@basechina.net
Subject: Re: JDBC DatabaseMetaData problem
In-Reply-To: <4F7F5A9F.1020002@ttc-cmc.net>
References: <BFD6CE0C5E7B45EAB6B29DCE6D47F096@jiangym> <4F7F5A9F.1020002@ttc-cmc.net>
* 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