Re: Pg17 Crash in Planning (Arrays + Casting + UDF) - Mailing list pgsql-hackers

From Fredrik Widlert
Subject Re: Pg17 Crash in Planning (Arrays + Casting + UDF)
Date
Msg-id CADfhSr96Mpj7FoU1mPw6R=guEPLz-CA9az8UfbvVKxjd-QXtAg@mail.gmail.com
Whole thread Raw
In response to Re: Pg17 Crash in Planning (Arrays + Casting + UDF)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
As the original reporter on the PostGIS mailing list, I want to thank everyone both
on that list and on the Postgres list for the very quick response.

Having the problem confirmed and a ticket opened in 2 minutes is really impressive.

My report contained a very simplified version of our crashing query, but I've now also
verified that the fix

> -    else if (arrayexpr)
> +    else if (arrayexpr && root != NULL)

also stops our original big query from crashing.

Thanks!
/Fredrik

pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Wrong results with grouping sets
Next
From: "Daniel Verite"
Date:
Subject: Re: Should CSV parsing be stricter about mid-field quotes?