You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of our users like <I>The Practical SQL Handbook</I>, Bowman et al.,
381
-
Addison Wesley. Others like <I>Lan Times Guide to SQL</I>, Groff et al.,
382
-
Osborne McGraw-Hill.<P>
392
+
Addison Wesley. Others like <I>The Complete Reference SQL</I>, Groff et al.,
393
+
McGraw-Hill.<P>
383
394
384
395
385
396
<H4><ANAME="1.11">1.11</A>) Is PostgreSQL Y2K compliant?</H4><P>
@@ -484,20 +495,6 @@ <H4><A NAME="1.14">1.14</A>) How does PostgreSQL compare to other
484
495
in our BSD-style license stated above.<BR><BR>
485
496
</DL>
486
497
487
-
<H4><ANAME="1.15">1.15</A>) What are the maximum size limits?</H4><P>
488
-
489
-
These are the limits:
490
-
491
-
<PRE>
492
-
Maximum size for a database? unlimited (60GB databases exist)
493
-
Maximum size for a table? unlimited on all operating systems
494
-
Maximum size for a row? 8k, configurable to 32k
495
-
Maximum number of rows in a table? unlimited
496
-
Maximum number of columns table? unlimited
497
-
Maximun number of indexes on a table? unlimited
498
-
</PRE>
499
-
The row length limit will be removed in 7.1.<P>
500
-
501
498
<HR>
502
499
503
500
<H2><CENTER>User Client Questions</CENTER></H2>
@@ -580,9 +577,8 @@ <H4><A NAME="3.1">3.1</A>) Why does initdb fail?</H4><P>
580
577
581
578
<UL>
582
579
<LI> check that you don't have any of the previous version's binaries in
583
-
your path (If you see the message <CODE>WARN:heap_modifytuple: repl is
584
-
\ 9</CODE>, this is the problem.)
585
-
<Li> check to see that you have the proper paths set
580
+
your path
581
+
<LI> check to see that you have the proper paths set
586
582
<LI> check that the <I>postgres</I> user owns the proper files
587
583
</UL><P>
588
584
@@ -848,15 +844,23 @@ <H4><A NAME="4.5">4.5</A>) How do you remove a column from a
848
844
<H4><ANAME="4.6">4.6</A>) What is the maximum size for a
849
845
row, table, database?</H4><P>
850
846
851
-
Rows are limited to 8K bytes, but this can be changed by editing
852
-
<I>include/config.h</I> and changing <SMALL>BLCKSZ.</SMALL> To use attributes
853
-
larger than 8K, you can also use the large object interface.<P>
847
+
These are the limits:
854
848
855
-
Rows do not cross 8k boundaries so a 5k row will require 8k of
856
-
storage.<P>
849
+
<PRE>
850
+
Maximum size for a database? unlimited (60GB databases exist)
851
+
Maximum size for a table? unlimited on all operating systems
852
+
Maximum size for a row? 8k, configurable to 32k
853
+
Maximum number of rows in a table? unlimited
854
+
Maximum number of columns table? unlimited
855
+
Maximun number of indexes on a table? unlimited
856
+
</PRE>
857
+
858
+
To change the maximum row size, edit <I>include/config.h</I> and change
859
+
<SMALL>BLCKSZ.</SMALL> To use attributes larger than 8K, you can also
860
+
use the large object interface.<P>
861
+
862
+
Row length limit will be removed in 7.1.<P>
857
863
858
-
Table and database sizes are unlimited. There are many databases that
859
-
are tens of gigabytes, and probably some that are hundreds.
860
864
861
865
<H4><ANAME="4.7">4.7</A>)How much database disk space is required to
862
866
store data from a typical flat file?<BR></H4><P>
@@ -1056,7 +1060,8 @@ <H4><A NAME="4.16.2">4.16.2</A>) How do I get the back the generated SERIAL valu
1056
1060
</PRE>
1057
1061
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().
1058
1062
1059
-
<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>
1063
+
<H4><ANAME="4.16.3">4.16.3</A>) Don't currval() and nextval() lead to a race condition with other
1064
+
concurrent backend processes?</H4><P>
1060
1065
1061
1066
No. That has been handled by the backends.
1062
1067
@@ -1232,4 +1237,3 @@ <H4><A NAME="5.5">5.5</A>) I have changed a source file. Why does the
0 commit comments