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

Commit2b2cf39

Browse files
committed
Update char/varchar()/text/bytea to mention they have similar performance
characteristics.
1 parent06b2979 commit2b2cf39

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

‎doc/FAQ

Lines changed: 3 additions & 2 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:Thu Oct17 19:33:40 EDT 2002
4+
Last updated:Sat Oct19 22:58:02 EDT 2002
55

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

@@ -848,7 +848,8 @@ BYTEA bytea variable-length byte array (null-byte safe)
848848
VARCHAR(n) is best when storing variable-length strings but it limits
849849
how long a string can be. TEXT is for strings of unlimited length,
850850
maximum 1 gigabyte. BYTEA is for storing binary data, particularly
851-
values that include NULL bytes.
851+
values that include NULL bytes. These types have similar performance
852+
characteristics.
852853

853854
4.15.1) How do I create a serial/auto-incrementing field?
854855

‎doc/src/FAQ/FAQ.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
alink="#0000ff">
1515
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
1616

17-
<P>Last updated:Thu Oct17 19:33:40 EDT 2002</P>
17+
<P>Last updated:Sat Oct19 22:58:02 EDT 2002</P>
1818

1919
<P>Current maintainer: Bruce Momjian (<Ahref=
2020
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
@@ -1068,7 +1068,8 @@ <H4><A name="4.14">4.14</A>) What is the difference between the
10681068
storing variable-length strings but it limits how long a string can
10691069
be.<SMALL>TEXT</SMALL> is for strings of unlimited length, maximum
10701070
1 gigabyte.<SMALL>BYTEA</SMALL> is for storing binary data,
1071-
particularly values that include<SMALL>NULL</SMALL> bytes.</P>
1071+
particularly values that include<SMALL>NULL</SMALL> bytes. These
1072+
types have similar performance characteristics.</P>
10721073

10731074
<H4><Aname="4.15.1">4.15.1</A>) How do I create a
10741075
serial/auto-incrementing field?</H4>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp