Re: [BUGS] BUG #2319: psql utf8/latin1 client_encoding bug when using '-c'

2006-03-15 Thread Tom Lane
"Mattias Kregert" <[EMAIL PROTECTED]> writes: > -- ...but this does not. > % psql -h server mydb -c "set client_encoding to 'latin1'; select * from > mytable where text='ÅÄÖ';" > ERROR: invalid UTF-8 byte sequence detected near byte 0xc5 There is no hope of that ever working, since the string

[BUGS] BUG #2319: psql utf8/latin1 client_encoding bug when using '-c'

2006-03-15 Thread Mattias Kregert
The following bug has been logged online: Bug reference: 2319 Logged by: Mattias Kregert Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.0 Operating system: Linux 2.4 Description:psql utf8/latin1 client_encoding bug when using '-c' Details: Psql '-c' does n