postgre max length issue