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)
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,
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?
alink="#0000ff">
<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=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
storing variable-length strings but it limits how long a string can
be. <SMALL>TEXT</SMALL> is for strings of unlimited length, maximum
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
serial/auto-incrementing field?</H4>