Skip to content

Commit 6f48558

Browse files
committed
Update CHAR() description.
1 parent d340e00 commit 6f48558

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/FAQ

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: Sun Jan 12 00:16:01 EST 2003
4+
Last updated: Sun Jan 12 09:58:38 EST 2003
55

66
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
77

@@ -839,9 +839,10 @@ BYTEA bytea variable-length byte array (null-byte safe)
839839
maximum 1 gigabyte.
840840

841841
CHAR(n) is for storing strings that are all the same length. CHAR(n)
842-
stores trailing spaces, while VARCHAR(n) trims them. BYTEA is for
843-
storing binary data, particularly values that include NULL bytes.
844-
These types have similar performance characteristics.
842+
pads with blanks to the specified length, while VARCHAR(n) only stores
843+
the characters supplied. BYTEA is for storing binary data,
844+
particularly values that include NULL bytes. These types have similar
845+
performance characteristics.
845846

846847
4.15.1) How do I create a serial/auto-incrementing field?
847848

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy