Skip to content

Commit 62c49fc

Browse files
committed
doc: document the maximum char/varchar length value
Reported-by: Japin Li Discussion: https://postgr.es/m/MEYP282MB1669B13E98AE531617CB1386B6979@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM Backpatch-through: 10
1 parent 9bdad1b commit 62c49fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,6 +1217,8 @@ SELECT '52093.89'::money::numeric::float8;
12171217
<type>char(<replaceable>n</replaceable>)</type> are aliases for <type>character
12181218
varying(<replaceable>n</replaceable>)</type> and
12191219
<type>character(<replaceable>n</replaceable>)</type>, respectively.
1220+
If specified, the length must be greater than zero and cannot exceed
1221+
10485760.
12201222
<type>character</type> without length specifier is equivalent to
12211223
<type>character(1)</type>. If <type>character varying</type> is used
12221224
without length specifier, the type accepts strings of any size. The

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