Hi, Can someone look at this patch. It should fix bug #12845. The current tests for conversions are very minimal. I expanded them a bit for this bug. I think the binary search in the .map files should be removed but I leave that for another patch.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных