Bruce Momjian writes: > The problem is that mbvalidate() has this code: > > if (GetVariableBool(pset.vars, "WIN32_CONSOLE")) > CharToOem(pwcs, pwcs); > > That's why I needed the #ifdef so it only tests from psql. This code > was just broken without that test, and because no one else has done > Win32 compiles since it was added, no one saw it.
Interesting, considering that WIN32_CONSOLE isn't being set anywhere. Anyway, that code needs to be removed/fixed, for the mentioned reasons. -- Peter Eisentraut [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend