Re: BUG #18840: Segmentation fault in executing select unnest(array(oidvector))
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ylshiyu@126.com
Cc: pgsql-bugs@lists.postgresql.org
Date: 2025-03-13T20:10:25Z
Lists: 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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix ARRAY_SUBLINK and ARRAY[] for int2vector and oidvector input.
- f7ae51312f3d 14.18 landed
- c826cd1b1d42 17.5 landed
- 474aee3dfe88 13.21 landed
- 4618045bee4a 18.0 landed
- 13dd6f77265b 15.13 landed
- 0405982c7cba 16.9 landed