In turkish we have to forms of "i" one is "i" and as uppercase "]" and the other is "}" and uppercase is "I". The postgresql use some internal sql codes for creating views. And the code is written in uppercase, however it works as normal caracters. So sql engine could not understand turkish lower case of "INSERT", it looks "}nsert" because of local transformation of upper and lower case caracters... The two envirmontal variables, which addressed at the documentation of postgresql, could not effect when they assigned as "en" ... So we could not use posgresql at our server.
*** Bug 22574 has been marked as a duplicate of this bug. ***
Could that be a glibc locale problem?
A similiar bug was reported by me about RPM package and resolved by your team. The bug number was 22492. May be this additional information could help to resolve this bug... Best regards.
After seeing discussions on this topic on pgsql-hackers ( http://www.postgresql.org/mhonarc/pgsql-hackers/2001-02/thrd2.html#00961 if you're not subscribe), I've decided not to touch this issue until it's solved in the standard postgresql package.