From f2a0060a9bfb7a6f257a536de5ea2d4f7cedff03 Mon Sep 17 00:00:00 2001 From: David Rowley Date: Wed, 1 Jun 2022 12:46:18 +1200 Subject: [PATCH] Doc: mention limitation of the number of resultset columns 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/src/sgml/limits.sgml b/doc/src/sgml/limits.sgml index 7713ff7177..d5b2b627dd 100644 --- a/doc/src/sgml/limits.sgml +++ b/doc/src/sgml/limits.sgml @@ -62,6 +62,12 @@ below + + columns in a result set + 1664 + + + field size 1 GB