PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16213
PG Version11.5
OSlinux
Opened2020-01-16 23:27:29+00
Reported byMatt Jibson
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16213
Logged by:          Matt Jibson
Email address:      (redacted)
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

Messages

DateAuthorSubject
2020-01-16 23:27:29+00PG Bug reporting formBUG #16213: segfault when running a query
2020-01-17 04:03:46+00Tom LaneRe: BUG #16213: segfault when running a query
2020-01-17 18:29:54+00Tom LaneRe: BUG #16213: segfault when running a query