BUG #16213: segfault when running a query
The Post Office <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: matt.jibson@gmail.com
Date: 2020-01-16T23:27:29Z
Lists: pgsql-bugs, pgsql-hackers
The following bug has been logged on the website:
Bug reference: 16213
Logged by: Matt Jibson
Email address: matt.jibson@gmail.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
Commits
-
Repair more failures with SubPlans in multi-row VALUES lists.
- eb9d1f0504a6 9.4.26 landed
- 3964722780d8 9.5.21 landed
- 45f03cfa56c8 9.6.17 landed
- 167fd022ff33 10.12 landed
- d8e877b869cb 11.7 landed
- 2e2646060e18 12.2 landed
- 41c6f9db25b5 13.0 landed
-
Repair failure with SubPlans in multi-row VALUES lists.
- 9b63c13f0a21 11.0 cited