problem with Npgsql UNICODE <-> Latin2

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: pgsql-bugs(at)postgresql(dot)org
Subject: problem with Npgsql UNICODE <-> Latin2
Date: 2004-04-08 14:54:49
Message-ID: Pine.LNX.4.44.0404081622370.8825-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello

In my ASP.NET application I have problem with execution of
INSERT COMMAND with czech diacritics.

cn = New
NpgsqlConnection("Port=5432;Database=lrr;Server=triss.cesta;")
Dim cmd1 As New NpgsqlCommand("set client_encoding TO unicode", cn)
Dim cmd2 as New NpgsqlCommand("INSERT INTO ....")
cmd1.ExecuteNonQuery() 'ok
cmd2.ExecuteNonQuery() 'for ever / PROBLEM, ended on timeout.

If I don't set client_encoding, then insert work, but then I can't use
czech diacritics.

I have npgsql-0.6rc3 on Microsoft .NET

Can You help me
Thank You
Pavel Stehule

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Stehule 2004-04-08 15:31:55 npgsql and czech diacritics again
Previous Message Tom Lane 2004-04-07 19:32:21 Re: BUG #1129: select query returns multiple results for a japanese characters