|
text
- (4+length) bytes
- Best choice
- Variable-length
+ (4+n) bytes
+ Most flexible
+ Variable unlimited length
|
varchar(n)
- There is one other fixed-length character type in
Postgres.
- The name type
- only has one purpose and that is for storage of internal catalog
- names.
- It is not intended for use by the general user.
+ There is one other fixed-length character type in
Postgres.
+ The name type exists only for
+ storage of internal catalog names and
+ is not intended for use by the general user.
Its length is currently defined as 32 bytes (31 characters plus terminator)
but should be reference using NAMEDATALEN.
The length is set at compile time (and is therefore adjustable for