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: Pine.LNX.4.44.0404081622370.8825-100000@kix.fsv.cvut.cz (view raw or flat)
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





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-2014 The PostgreSQL Global Development Group