Thanks, Stephan and Milen. Everything is clear now. I had a change in the behavior moving from 8.1 to 8.3, and the automatic typecasting prior to 8.3 blurred the intended behavior as per the documentation.
pgsql-admin by date:
Соглашаюсь с условиями обработки персональных данных