Reputation: 21459
On the postgresql manual page: If you desire to store long strings with no specific upper limit, use text or character varying without a length specifier.
My question is: when to use which ? Or it doesn't matter ?
Upvotes: 1
Views: 68
Reputation: 5957
They are the same. Use what you prefer :)
Although text
is not SQL standard I prefer it because is sorter.
Upvotes: 2