Mario Weilguni wrote: > Steps to reproduce: > create database testdb with encoding='UTF8'; > \c testdb > create table test(x text); > insert into test values ('\244'); ==> Is akzepted, even if not UTF8.
This is working as expected, see the remark in http://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQ L-SYNTAX-STRINGS "It is your responsibility that the byte sequences you create are valid characters in the server character set encoding." Yours, Laurenz Albe ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match