mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 23:56:58 +03:00
Update char/varchar()/text/bytea to mention they have similar performance
characteristics.
This commit is contained in:
parent
06b297938d
commit
2b2cf392fe
5
doc/FAQ
5
doc/FAQ
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Frequently Asked Questions (FAQ) for PostgreSQL
|
Frequently Asked Questions (FAQ) for PostgreSQL
|
||||||
|
|
||||||
Last updated: Thu Oct 17 19:33:40 EDT 2002
|
Last updated: Sat Oct 19 22:58:02 EDT 2002
|
||||||
|
|
||||||
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
|
||||||
|
|
||||||
@ -848,7 +848,8 @@ BYTEA bytea variable-length byte array (null-byte safe)
|
|||||||
VARCHAR(n) is best when storing variable-length strings but it limits
|
VARCHAR(n) is best when storing variable-length strings but it limits
|
||||||
how long a string can be. TEXT is for strings of unlimited length,
|
how long a string can be. TEXT is for strings of unlimited length,
|
||||||
maximum 1 gigabyte. BYTEA is for storing binary data, particularly
|
maximum 1 gigabyte. BYTEA is for storing binary data, particularly
|
||||||
values that include NULL bytes.
|
values that include NULL bytes. These types have similar performance
|
||||||
|
characteristics.
|
||||||
|
|
||||||
4.15.1) How do I create a serial/auto-incrementing field?
|
4.15.1) How do I create a serial/auto-incrementing field?
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
alink="#0000ff">
|
alink="#0000ff">
|
||||||
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
|
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
|
||||||
|
|
||||||
<P>Last updated: Thu Oct 17 19:33:40 EDT 2002</P>
|
<P>Last updated: Sat Oct 19 22:58:02 EDT 2002</P>
|
||||||
|
|
||||||
<P>Current maintainer: Bruce Momjian (<A href=
|
<P>Current maintainer: Bruce Momjian (<A href=
|
||||||
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
|
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
|
||||||
@ -1068,7 +1068,8 @@ BYTEA bytea variable-length byte array (null-byte safe)
|
|||||||
storing variable-length strings but it limits how long a string can
|
storing variable-length strings but it limits how long a string can
|
||||||
be. <SMALL>TEXT</SMALL> is for strings of unlimited length, maximum
|
be. <SMALL>TEXT</SMALL> is for strings of unlimited length, maximum
|
||||||
1 gigabyte. <SMALL>BYTEA</SMALL> is for storing binary data,
|
1 gigabyte. <SMALL>BYTEA</SMALL> is for storing binary data,
|
||||||
particularly values that include <SMALL>NULL</SMALL> bytes.</P>
|
particularly values that include <SMALL>NULL</SMALL> bytes. These
|
||||||
|
types have similar performance characteristics.</P>
|
||||||
|
|
||||||
<H4><A name="4.15.1">4.15.1</A>) How do I create a
|
<H4><A name="4.15.1">4.15.1</A>) How do I create a
|
||||||
serial/auto-incrementing field?</H4>
|
serial/auto-incrementing field?</H4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user