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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sergiy Vyshnevetskiy" <serg(at)vostok(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2692: psql sends natively-localized strings to database without setting client_encoding first
Date: 2006-10-13 14:22:37
Message-ID: 29521.1160749357@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Sergiy Vyshnevetskiy" <serg(at)vostok(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2006-10-13 20:23:20 Re: BUG #2690: GRANT does not allow periods in database or schema names
Previous Message Sergiy Vyshnevetskiy 2006-10-13 08:50:39 BUG #2692: psql sends natively-localized strings to database without setting client_encoding first