ConnSettings

From: "claus" <ch(at)greenmail(dot)ch>
To: <pgadmin-hackers(at)postgresql(dot)org>
Subject: ConnSettings
Date: 2003-08-14 12:45:45
Message-ID: 01b601c36261$fae5a690$8701a8c0@descom.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello list,

I am trying to convince pgadmin 1.6.0 to display my Unicode encode databases
as WIN1250 per default
(not launching a SET CLIENT ENCODING command on each connection).
The problem is that pgadmin does not use a DNS but uses ODBC "dynamically"
setting up the connection string by explicitely.

First I looked after an environment variable but in vain there are only env variables for the
DB itself.

Then I found the registry entry
HKLM\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL\ConnSettings
even though there is no way to change it using a UI with regedit I set it to
"SET+CLIENT%5fENCODING+%3d+%27WIN1250%27%3b"
the same value as set when using the UI on a particular DNS.

I saw that the registry value is read (using regmon) but it does not seem
to be used when opening the connection
(connection strings in logfiles and db properties in pgadmin)

As anyone an idea to fix this encoding problem or should I file a bug report ?

Thank you and regards,
Claus

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-08-14 13:02:34 Re: ConnSettings
Previous Message Jean-Michel POURE 2003-08-13 20:27:33 Re: Web site updates