Datatypes char/varchar vs text


#1

Are the maximum sizes of these datatypes documented?
are there advantages of using text over varchar?

I am planning on building a table that has an entity and a bunch of text that has been associated to that entity, and some numeric columns. Machine Learning algorithms will then be used on this table. Does this change the recommended datatype?


#2

No difference among them, they alias to the same thing in the catalog. Max size is 32767.