for the future it is better to just use text type, and: check length(field) < 35;
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных