Commit 657d0044 authored by Bruce Momjian's avatar Bruce Momjian

Update FAQ.

parent 46712990
Frequently Asked Questions (FAQ) for PostgreSQL Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Fri Oct 12 23:53:35 EDT 2001 Last updated: Sat Oct 13 01:26:55 EDT 2001
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...@@ -791,10 +791,10 @@ BYTEA bytea variable-length byte array (null-safe) ...@@ -791,10 +791,10 @@ BYTEA bytea variable-length byte array (null-safe)
by TOAST, so the space on disk might also be less than expected. by TOAST, so the space on disk might also be less than expected.
CHAR() is best when storing strings that are usually the same length. CHAR() is best when storing strings that are usually the same length.
VARCHAR() is best when storing variable-length strings, but you want VARCHAR() is best when storing variable-length strings but it limits
to limit how long a string can be. TEXT is for strings of unlimited how long a string can be. TEXT is for strings of unlimited length,
length, maximum 1 gigabyte. BYTEA is for storing binary data, maximum 1 gigabyte. BYTEA is for storing binary data, particularly
particularly values that include NULL bytes. values that include NULL bytes.
4.16.1) How do I create a serial/auto-incrementing field? 4.16.1) How do I create a serial/auto-incrementing field?
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
alink="#0000FF"> alink="#0000FF">
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1> <H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
<P>Last updated: Fri Oct 12 23:53:35 EDT 2001</P> <P>Last updated: Sat Oct 13 01:26:55 EDT 2001</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>
...@@ -1003,11 +1003,13 @@ BYTEA bytea variable-length byte array (null-safe) ...@@ -1003,11 +1003,13 @@ BYTEA bytea variable-length byte array (null-safe)
stored out-of-line by <SMALL>TOAST</SMALL>, so the space on disk stored out-of-line by <SMALL>TOAST</SMALL>, so the space on disk
might also be less than expected.</P> might also be less than expected.</P>
<P>CHAR() is best when storing strings that are usually the <P><SMALL>CHAR()</SMALL> is best when storing strings that are
same length. VARCHAR() is best when storing variable-length strings, usually the same length. <SMALL>VARCHAR()</SMALL> is best when
but you want to limit how long a string can be. TEXT is for strings storing variable-length strings but it limits how long a
of unlimited length, maximum 1 gigabyte. BYTEA is for storing string can be. <SMALL>TEXT</SMALL> is for strings of unlimited
binary data, particularly values that include NULL bytes.</P> length, maximum 1 gigabyte. <SMALL>BYTEA</SMALL> is for storing
binary data, particularly values that include <SMALL>NULL</SMALL>
bytes.</P>
<H4><A name="4.16.1">4.16.1</A>) How do I create a <H4><A name="4.16.1">4.16.1</A>) How do I create a
serial/auto-incrementing field?</H4> serial/auto-incrementing field?</H4>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment