Perhaps you are forgetting to allow for trailing blanks in the stored data? Those are significant if you're using varchar. regards, tom lane
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных