Did you use type char instead of varchar?
pgsql-admin by date:
Соглашаюсь с условиями обработки персональных данных