Re: user names & non-ASCII - Mailing list pgsql-bugs

From Robert Haas
Subject Re: user names & non-ASCII
Date
Msg-id CA+Tgmoaf==cfEkbF=-MKv+1KTLE8YcVCYFjJAjQ7i9QbspqtFw@mail.gmail.com
Whole thread Raw
In response to user names & non-ASCII  ("Holec, JPH Software" <holec@jphsw.cz>)
Responses Re: user names & non-ASCII  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-bugs
On Thu, Dec 15, 2011 at 3:40 PM, Holec, JPH Software <holec@jphsw.cz> wrote:
> I Have PostgreSQL server 8.4.9 on Linux, database utf-8 and=A0Client app =
on
> Windows (VC++ and libpq.dll).
> I need to use user account with non-ASCII and PQconnectdb()=A0with
> options=3D"client_encoding=3DWIN1250" doesn't work.

I think you need a "-c" in there somewhere, maybe something like this:

options=3D'-cclient_encoding=3DWIN1250'

...although, for some reason, I can't get that to work from psql, even
though I can set other parameters using that syntax.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #6341: Packaging - virtual provides "postgres" without version
Next
From: Robert Haas
Date:
Subject: Re: BUG #6340: to_timestamp() miscalculates