1010alink ="#0000ff ">
1111< H1 > Frequently Asked Questions (FAQ) for PostgreSQL</ H1 >
1212
13- < P > Last updated:Tue Feb1 16:10:47 EST 2005</ P >
13+ < P > Last updated:Wed Feb2 08:40:42 EST 2005</ P >
1414
1515< P > Current maintainer: Bruce Momjian (< A href =
1616 "mailto:pgman@candle.pha.pa.us "> pgman@candle.pha.pa.us</ A > )
@@ -61,11 +61,9 @@ <H2 align="center">Administrative Questions</H2>
6161< A href ="#3.4 "> 3.4</ A > ) What debugging features are available?< BR >
6262< A href ="#3.5 "> 3.5</ A > ) Why do I get< I > "Sorry, too many
6363 clients"</ I > when trying to connect?< BR >
64- < A href ="#3.6 "> 3.6</ A > ) What is in the< I > pgsql_tmp</ I >
65- directory?< BR >
66- < A href ="#3.7 "> 3.7</ A > ) Why do I need to do a dump and restore
64+ < A href ="#3.6 "> 3.6</ A > ) Why do I need to do a dump and restore
6765 to upgrade PostgreSQL releases?< BR >
68- < A href ="#3.8 "> 3.8 </ A > ) What computer hardware should I use?< BR >
66+ < A href ="#3.7 "> 3.7 </ A > ) What computer hardware should I use?< BR >
6967
7068
7169< H2 align ="center "> Operational Questions</ H2 >
@@ -573,19 +571,7 @@ <H4><A name="3.5">3.5</A>) Why do I get <I>"Sorry, too many
573571< I > max_connections</ I > value in< I > postgresql.conf</ I > and
574572 restarting the< I > postmaster</ I > .</ P >
575573
576- < H4 > < A name ="3.6 "> 3.6</ A > ) What is in the< I > pgsql_tmp</ I > directory?</ H4 >
577-
578- < P > This directory contains temporary files generated by the query
579- executor. For example, if a sort needs to be done to satisfy an
580- < SMALL > ORDER BY</ SMALL > and the sort requires more space than the
581- backend's< I > -S</ I > parameter allows, then temporary files are created
582- here to hold the extra data.</ P >
583-
584- < P > The temporary files are usually deleted automatically, but might
585- remain if a backend crashes during a sort. A stop and restart of the
586- < I > postmaster</ I > will remove files from those directories.</ P >
587-
588- < H4 > < A name ="3.7 "> 3.7</ A > ) Why do I need to do a dump and restore
574+ < H4 > < A name ="3.6 "> 3.6</ A > ) Why do I need to do a dump and restore
589575 to upgrade between major PostgreSQL releases?</ H4 >
590576
591577< P > The PostgreSQL team makes only small changes between minor releases,
@@ -596,7 +582,7 @@ <H4><A name="3.7">3.7</A>) Why do I need to do a dump and restore
596582 data in a generic format that can then be loaded in using the new internal
597583 format.</ P >
598584
599- < H4 > < A name ="3.8 "> 3.8 </ A > ) What computer hardware should I use?</ H4 >
585+ < H4 > < A name ="3.7 "> 3.7 </ A > ) What computer hardware should I use?</ H4 >
600586
601587< P > Because PC hardware is mostly compatible, people tend to believe that
602588 all PC hardware is of equal quality. It is not. ECC RAM, SCSI, and
@@ -672,7 +658,7 @@ <H4><A name="4.4">4.4</A>) What is the maximum size for a row, a
672658 table, and a database?</ H4 >
673659
674660< P > These are the limits:</ P >
675- < CENTER >
661+ < BLOCKQUOTE >
676662< TABLE BORDER =1 >
677663< TR > < TD > Maximum size for a database?</ TD > < TD > unlimited (32 TB databases
678664exist)</ TD > </ TR >
@@ -685,8 +671,7 @@ <H4><A name="4.4">4.4</A>) What is the maximum size for a row, a
685671< TR > < TD > Maximum number of indexes on a
686672table?</ TD > < TD > unlimited</ TD > </ TR >
687673</ TABLE >
688- </ CENTER >
689- < BR >
674+ </ BLOCKQUOTE >
690675
691676< P > Of course, these are not actually unlimited, but limited to
692677 available disk space and memory/swap space. Performance may suffer
@@ -837,7 +822,7 @@ <H4><A name="4.9">4.9</A>) In a query, how do I detect if a field
837822
838823< H4 > < A name ="4.10 "> 4.10</ A > ) What is the difference between the
839824 various character types?</ H4 >
840- < CENTER >
825+ < BLOCKQUOTE >
841826< TABLE BORDER =1 >
842827< TR > < TH > Type</ TH > < TH > Internal Name</ TH > < TH > Notes</ TH > </ TR >
843828< TR > < TD > VARCHAR(n)</ TD > < TD > varchar</ TD > < TD > size specifies maximum
@@ -850,7 +835,8 @@ <H4><A name="4.10">4.10</A>) What is the difference between the
850835(null-byte safe)</ TD > </ TR >
851836< TR > < TD > "char"</ TD > < TD > char</ TD > < TD > one character</ TD > </ TR >
852837</ TABLE >
853- </ CENTER >
838+ </ BLOCKQUOTE >
839+
854840< P > You will see the internal name when examining system catalogs
855841 and in some error messages.</ P >
856842