Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs

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

cn = New 
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group