Re: BUG #18840: Segmentation fault in executing select unnest(array(oidvector)) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18840: Segmentation fault in executing select unnest(array(oidvector))
Date
Msg-id 2926483.1741896625@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #18840: Segmentation fault in executing select unnest(array(oidvector))  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Attribute of type record has wrong type error with MERGE ... WHEN NOT MATCHED BY SOURCE THEN DELETE
Next
From: Kirk Parker
Date:
Subject: CHECK that involves a function call behaves differently during bulk load?