All I know about differences of them is varchar has limit, and text is not. The documentation does not mention about this.
Is that really the only difference? No consideration about performance or etc?
|
All I know about differences of them is Is that really the only difference? No consideration about performance or etc? |
||||
|
|
|
The background of this is: The old Postgres system used the PostQUEL language and used a data type named Now, to some degree and in some places, But aside from these fine points, there is no noticeable difference. Use whichever one looks prettier to you. ;-) |
|||
|
|
http://www.postgresql.org/docs/8.4/interactive/datatype-character.html
text without declared length. There are no performance differences between these two types. |
|||||
|
|
See this similar question. The jist is that there is no difference, but specifying a maximum length such as |
|||
|
|