Re: PostgreSQL Limits: maximum number of columns in SELECT result - Mailing list pgsql-hackers

From Amul Sul
Subject Re: PostgreSQL Limits: maximum number of columns in SELECT result
Date
Msg-id CAAJ_b96jycocnr-8cJtZzjLoaS0__WneOKPXQdXXXLE50FQ8CQ@mail.gmail.com
Whole thread Raw
In response to PostgreSQL Limits: maximum number of columns in SELECT result  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Responses Re: PostgreSQL Limits: maximum number of columns in SELECT result
Re: PostgreSQL Limits: maximum number of columns in SELECT result
List pgsql-hackers
On Tue, May 31, 2022 at 12:46 PM Vladimir Sitnikov
<sitnikov.vladimir@gmail.com> wrote:
>
> Hi,
>
> Today I hit "ERROR: target lists can have at most 1664 entries", and I was surprised the limit was not documented.
>
> I suggest that the limit of "1664 columns per tuple" (or whatever is the right term) should be added
> to the list at https://www.postgresql.org/docs/current/limits.html e.g. after "columns per table".
>

Rather, I think the "columns per table" limit needs to be updated to 1664.

Regards,
Amul



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: [RFC] building postgres with meson
Next
From: Dave Cramer
Date:
Subject: Re: PostgreSQL Limits: maximum number of columns in SELECT result