From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: ylshiyu@126.com
Subject: BUG #18840: Segmentation fault in executing select unnest(array(oidvector))
Date: Wed, 12 Mar 2025 12:30:03 +0000
Message-ID: <18840-fbc9505f066e50d6@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 18840
Logged by: yang lei
Email address: ylshiyu@126.com
PostgreSQL version: 16.8
Operating system: Ubuntu 22.04
Description:
Hi,
I encountered a segmentation fault when using 'select
unnest(array(oidvector))'.
bug demo:
CREATE TABLE my_table (
id SERIAL PRIMARY KEY,
oidvector_col oidvector
);
INSERT INTO my_table (oidvector_col) VALUES ('12345 67890 54321');
SELECT unnest(ARRAY(SELECT oidvector_col)) from my_table;
server closed the connection unexpectedly
This
probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: 2025-03-12
20:18:04.642 CST [1478] LOG: server process (PID 1578) was terminated by
signal 11: Segmentation fault
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: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, ylshiyu@126.com
Subject: Re: BUG #18840: Segmentation fault in executing select unnest(array(oidvector))
In-Reply-To: <18840-fbc9505f066e50d6@postgresql.org>
* 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