From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | "Holec, JPH Software" <holec(at)jphsw(dot)cz> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: user names & non-ASCII |
Date: | 2011-12-23 17:21:31 |
Message-ID: | CA+Tgmoaf==cfEkbF=-MKv+1KTLE8YcVCYFjJAjQ7i9QbspqtFw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Thu, Dec 15, 2011 at 3:40 PM, Holec, JPH Software <holec(at)jphsw(dot)cz> wrote:
> I Have PostgreSQL server 8.4.9 on Linux, database utf-8 and Client app on
> Windows (VC++ and libpq.dll).
> I need to use user account with non-ASCII and PQconnectdb() with
> options="client_encoding=WIN1250" doesn't work.
I think you need a "-c" in there somewhere, maybe something like this:
options='-cclient_encoding=WIN1250'
...although, for some reason, I can't get that to work from psql, even
though I can set other parameters using that syntax.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-12-23 17:25:31 | Re: BUG #6340: to_timestamp() miscalculates |
Previous Message | Robert Haas | 2011-12-23 17:08:28 | Re: BUG #6341: Packaging - virtual provides "postgres" without version |