"Korea PostgreSQL Users' Group" <[EMAIL PROTECTED]> writes: >> Hm. I don't think it can actually fail, because the wchar strings are >> zero-terminated.
> [ yes it can ] You're right. I was confused at first because I couldn't reproduce the problem, but then I realized it's because I'm running with CLOBBER_FREED_MEMORY enabled, so the junk beyond the end of the string won't match the other string. Will commit the patch. Thanks. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match