Andrey Mitroshin <mit(at)akamit(dot)com> writes:> But 9.0.7 compiles fine. 8.4.11 too.
That's fairly irrelevant, since the code that wants to use wcstombs_l()and mbstowcs_l() is new in 9.1 (it's part of COLLATE-clause support).
regards, tom lane