Re: BUG #2692: psql sends natively-localized strings to database without setting client_encoding first - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2692: psql sends natively-localized strings to database without setting client_encoding first
Date
Msg-id 29521.1160749357@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2692: psql sends natively-localized strings to database without setting client_encoding first  ("Sergiy Vyshnevetskiy" <serg@vostok.net>)
List pgsql-bugs
"Sergiy Vyshnevetskiy" <serg@vostok.net> writes:
> psql mixes natively-localized string in SQL commands without setting
> client_encoding first. Looks like we _really_ need some code in configure
> script to find acceptable native names for our database charsets.

Actually, psql has no business sending those strings to the server at
all --- it's just laziness in describe.c not to find another method of
attaching the headings to the output tables ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Sergiy Vyshnevetskiy"
Date:
Subject: BUG #2692: psql sends natively-localized strings to database without setting client_encoding first
Next
From: Anastasios Hatzis
Date:
Subject: BUG #2688: Building from source with PL/Python fails ("distutils not found")