rectangular box in 2D plane
+ |
+ bytea
+
+ binary data
+
+
|
character(n)
char(n)
text
Variable unlimited length
-
+ |
+ bytea
+ binary data
+
+
standard, many other RDBMS packages have it as well.
+ The bytea data type allows storage of binary data,
+ specifically allowing storage of NULLs which are entered as
+ '\\000'>. The first backslash is interpreted by the
+ single quotes, and the second is recognized by bytea> and
+ preceeds a three digit octal value. For a similar reason, a
+ backslash must be entered into a field as '\\\\'> or
+ '\\134'>. You may also have to escape line feeds and
+ carriage return if your interface automatically translates these. It
+ can store values of any length. Bytea> is a non-standard
+ data type.
+
+
The storage requirement for data of these types is 4 bytes plus
the actual string, and in case of character plus the