Re: Re[2]: BUG #17561: Server crashes on executing row() with very long argument list - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Re[2]: BUG #17561: Server crashes on executing row() with very long argument list
Date
Msg-id 1745216.1659365738@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re[2]: BUG #17561: Server crashes on executing row() with very long argument list  (Richard Guo <guofenglinux@gmail.com>)
List pgsql-bugs
Richard Guo <guofenglinux@gmail.com> writes:
> Just noticed that CheckAttributeNamesTypes will check on column count
> against MaxHeapAttributeNumber. Maybe we should use this as the limit?

Yeah, otherwise you'll get a very confusing message about too many
columns in a *table*.

Also, there are two levels we have to check at, per-function and
then the merged tupdesc for the whole RTE.

I should have thought of function RTEs when asserting that there
were no other holes to plug :-(.  Will fix, thanks for the report!

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17564: Planner bug in combination of generate_series(), unnest() and ORDER BY
Next
From: Andres Freund
Date:
Subject: Re: Statistics updates is delayed when using `commit and chain`