Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Doc: mention limitation of the number of resultset columns
authorDavid Rowley <drowley@postgresql.org>
Wed, 1 Jun 2022 00:46:54 +0000 (12:46 +1200)
committerDavid Rowley <drowley@postgresql.org>
Wed, 1 Jun 2022 00:46:54 +0000 (12:46 +1200)
The PostgreSQL limitations section of the documents mentioned the limit
on the number of columns that can exist in a table.  Users might be
surprised to find that there's also a limit on the number of columns that
can exist in a targetlist.  Users may experience restrictions which
surprise them if they happened to select a large number of columns from
several tables with many columns.  Here we document that there is a
limitation on this and mention what that limit actually is.

Wording proposal by Alvaro Herrera

Reported-by: Vladimir Sitnikov
Author: Dave Crammer
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/CAB=Je-E18aTYpNqje4mT0iEADpeGLSzwUvo3H9kRRuDdsNo4aQ@mail.gmail.com
Backpatch-through: 12, where the limitations section was added

doc/src/sgml/limits.sgml

index 7713ff717738cdf23f1778f292d910a6b045835a..d5b2b627ddf059fa4bbcd636651ab780538b93c5 100644 (file)
      below</entry>
     </row>
 
+    <row>
+     <entry>columns in a result set</entry>
+     <entry>1664</entry>
+     <entry></entry>
+    </row>
+
     <row>
      <entry>field size</entry>
      <entry>1 GB</entry>