From: Tom Lane <tgl@sss.pgh.pa.us>
To: ylshiyu@126.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18840: Segmentation fault in executing select unnest(array(oidvector))
Date: Thu, 13 Mar 2025 16:10:25 -0400
Message-ID: <2926483.1741896625@sss.pgh.pa.us> (raw)
In-Reply-To: <2557612.1741822653@sss.pgh.pa.us>
References: <18840-fbc9505f066e50d6@postgresql.org>
<2557612.1741822653@sss.pgh.pa.us>
I wrote:
> The crash you found is sufficient reason to back-patch 0001, even
> though it changes results in some non-crash cases. I'm less sure
> about whether to back-patch 0002. If anyone can find a crash
> case involving ARRAY[], I think we should do so.
After sleeping on it I concluded that both changes should be
back-patched: if anyone were depending on ARRAY[] over int2vector
or oidvector, you'd think they'd have noticed and reported the
broken cases by now. Hence, pushed as one patch.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, ylshiyu@126.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18840: Segmentation fault in executing select unnest(array(oidvector))
In-Reply-To: <2926483.1741896625@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox