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

Commit1131261

Browse files
author
Thomas G. Lockhart
committed
Clarify the allowed length of the text data type.
1 parent20efb26 commit1131261

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

‎doc/src/sgml/datatype.sgml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.42 2000/11/16 06:03:40 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.43 2000/12/03 14:47:18 thomas Exp $
33
-->
44

55
<chapter id="datatype">
@@ -497,9 +497,9 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (<replaceabl
497497
</row>
498498
<row>
499499
<entry>text</entry>
500-
<entry>(4+length) bytes</entry>
501-
<entry>Best choice</entry>
502-
<entry>Variable-length</entry>
500+
<entry>(4+n) bytes</entry>
501+
<entry>Most flexible</entry>
502+
<entry>Variable unlimitedlength</entry>
503503
</row>
504504
<row>
505505
<entry>varchar(n)</entry>
@@ -513,11 +513,10 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (<replaceabl
513513
</para>
514514

515515
<para>
516-
There is one other fixed-length character type in <productname>Postgres</productname>.
517-
The <type>name</type> type
518-
only has one purpose and that is for storage of internal catalog
519-
names.
520-
It is not intended for use by the general user.
516+
There is one other fixed-length character type in <productname>Postgres</productname>.
517+
The <type>name</type> type exists <emphasis>only</emphasis> for
518+
storage of internal catalog names and
519+
is not intended for use by the general user.
521520
Its length is currently defined as 32 bytes (31 characters plus terminator)
522521
but should be reference using NAMEDATALEN.
523522
The length is set at compile time (and is therefore adjustable for

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp