Many of our users like <I>The Practical SQL Handbook</I>, Bowman et al.,
Addison Wesley. Others like <I>Lan Times Guide to SQL</I>, Groff et al.,
Osborne McGraw-Hill.<P>
Addison Wesley. Others like <I>The Complete Reference SQL</I>, Groff et al.,
McGraw-Hill.<P>
<H4><ANAME="1.11">1.11</A>) Is PostgreSQL Y2K compliant?</H4><P>
...
...
@@ -484,20 +495,6 @@ add our code to your product with no limitations, except those outlined
in our BSD-style license stated above.<BR><BR>
</DL>
<H4><ANAME="1.15">1.15</A>) What are the maximum size limits?</H4><P>
These are the limits:
<PRE>
Maximum size for a database? unlimited (60GB databases exist)
Maximum size for a table? unlimited on all operating systems
Maximum size for a row? 8k, configurable to 32k
Maximum number of rows in a table? unlimited
Maximum number of columns table? unlimited
Maximun number of indexes on a table? unlimited
</PRE>
The row length limit will be removed in 7.1.<P>
<HR>
<H2><CENTER>User Client Questions</CENTER></H2>
...
...
@@ -580,9 +577,8 @@ We have:
<UL>
<LI> check that you don't have any of the previous version's binaries in
your path (If you see the message <CODE>WARN:heap_modifytuple: repl is
\ 9</CODE>, this is the problem.)
<Li> check to see that you have the proper paths set
your path
<LI> check to see that you have the proper paths set
<LI> check that the <I>postgres</I> user owns the proper files
</UL><P>
...
...
@@ -848,15 +844,23 @@ this:
<H4><ANAME="4.6">4.6</A>) What is the maximum size for a
row, table, database?</H4><P>
Rows are limited to 8K bytes, but this can be changed by editing
<I>include/config.h</I> and changing <SMALL>BLCKSZ.</SMALL> To use attributes
larger than 8K, you can also use the large object interface.<P>
These are the limits:
Rows do not cross 8k boundaries so a 5k row will require 8k of
storage.<P>
<PRE>
Maximum size for a database? unlimited (60GB databases exist)
Maximum size for a table? unlimited on all operating systems
Maximum size for a row? 8k, configurable to 32k
Maximum number of rows in a table? unlimited
Maximum number of columns table? unlimited
Maximun number of indexes on a table? unlimited
</PRE>
To change the maximum row size, edit <I>include/config.h</I> and change
<SMALL>BLCKSZ.</SMALL> To use attributes larger than 8K, you can also
use the large object interface.<P>
Row length limit will be removed in 7.1.<P>
Table and database sizes are unlimited. There are many databases that
are tens of gigabytes, and probably some that are hundreds.
<H4><ANAME="4.7">4.7</A>)How much database disk space is required to
store data from a typical flat file?<BR></H4><P>
...
...
@@ -1056,7 +1060,8 @@ Similarly, you could retrieve the just-assigned SERIAL value with the <I>currval
</PRE>
Finally, you could use the <AHREF="#4.17">oid</A> returned from the INSERT statement to lookup the default value, though this is probably the least portable approach. In perl, using DBI with Edmund Mergl's DBD::Pg module, the oid value is made available via $sth->{pg_oid_status} after $sth->execute().
<H4><ANAME="4.16.3">4.16.3</A>) Wouldn't use of currval() and nextval() lead to a race condition with other concurrent backend processes?</H4><P>
<H4><ANAME="4.16.3">4.16.3</A>) Don't currval() and nextval() lead to a race condition with other
concurrent backend processes?</H4><P>
No. That has been handled by the backends.
...
...
@@ -1232,4 +1237,3 @@ have to do a <I>make clean</I> and then another <I>make.</I><P>