Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f48558

Browse files
committed
Update CHAR() description.
1 parentd340e00 commit6f48558

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 1200:16:01 EST 2003
4+
Last updated: Sun Jan 1209: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)

[8]ページ先頭

©2009-2025 Movatter.jp