BUG #16213: segfault when running a query

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: matt(dot)jibson(at)gmail(dot)com
Subject: BUG #16213: segfault when running a query
Date: 2020-01-16 23:27:29
Message-ID: 16213-871ac3bc208ecf23@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

The following bug has been logged on the website:

Bug reference: 16213
Logged by: Matt Jibson
Email address: matt(dot)jibson(at)gmail(dot)com
PostgreSQL version: 11.5
Operating system: linux
Description:

SELECT
*
FROM
(
SELECT
tab_31924.col_41292 AS col_41294,
tab_31924.col_41293 AS col_41295,
0::OID AS col_41296,
false AS col_41297
FROM
(
VALUES
(
'A'::STRING::STRING
NOT IN (
SELECT
'E'::STRING::STRING AS col_41289
FROM
(
VALUES
(NULL),
(NULL),
(NULL),
(NULL)
)
AS tab_31923 (col_41288)
WHERE
false
),
NULL,
'B'::STRING,
3::OID
),
(false, 4::OID, 'B'::STRING, 0::OID)
)
AS tab_31924
(col_41290, col_41291, col_41292, col_41293)
WHERE
tab_31924.col_41290
)
AS tab_31925
ORDER BY
col_41294 NULLS FIRST,
col_41295 NULLS FIRST,
col_41296 NULLS FIRST,
col_41297 NULLS FIRST;

The above query produces an error in the server log:

LOG: server process (PID 108) was terminated by signal 11: Segmentation
fault

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2020-01-16 23:45:14 Re: BUG #16205: background worker "logical replication worker" (PID 25218) was terminated by signal 11: Segmentation
Previous Message PG Bug reporting form 2020-01-16 22:36:16 BUG #16212: subquery block allows to overwrite table alias defined earlier

Browse pgsql-hackers by date

  From Date Subject
Next Message Euler Taveira 2020-01-16 23:58:24 Re: row filtering for logical replication
Previous Message Tom Lane 2020-01-16 23:15:40 Re: making the backend's json parser work in frontend code