Hacker News new | ask | show | jobs
by echlebek 2251 days ago
That sounds like a bug in the driver. I'm pretty sure varchar on postgres is just an alias for text, which has no limit.

edit: varchar(n) will issue an error past n bytes, varchar without n is the same as text. character varying(n) is like varchar(n).

https://www.postgresql.org/docs/9.4/datatype-character.html