summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2003-01-12 14:58:46 +0000
committerBruce Momjian2003-01-12 14:58:46 +0000
commit6f4855842c2f45223c9e044ee2c0d57adf5a5fc8 (patch)
treec2a4ae65ba3da8b32212b71578eecefbe81cf0ff
parentd340e006262dcc773b26a62f580a83e63d9c685d (diff)
Update CHAR() description.
-rw-r--r--doc/FAQ9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/FAQ b/doc/FAQ
index 79ec889a168..165e820bbb4 100644
--- a/doc/FAQ
+++ b/doc/FAQ
@@ -1,7 +1,7 @@
Frequently Asked Questions (FAQ) for PostgreSQL
- Last updated: Sun Jan 12 00:16:01 EST 2003
+ Last updated: Sun Jan 12 09:58:38 EST 2003
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
@@ -839,9 +839,10 @@ BYTEA bytea variable-length byte array (null-byte safe)
maximum 1 gigabyte.
CHAR(n) is for storing strings that are all the same length. CHAR(n)
- stores trailing spaces, while VARCHAR(n) trims them. BYTEA is for
- storing binary data, particularly values that include NULL bytes.
- These types have similar performance characteristics.
+ pads with blanks to the specified length, while VARCHAR(n) only stores
+ the characters supplied. BYTEA is for storing binary data,
+ particularly values that include NULL bytes. These types have similar
+ performance characteristics.
4.15.1) How do I create a serial/auto-incrementing field?