General Bug Report: bug in planner/optimizer - Mailing list pgsql-bugs

From Unprivileged user
Subject General Bug Report: bug in planner/optimizer
Date
Msg-id 199901252050.PAA11615@hub.org
Whole thread Raw
List pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Andriy I Pilipenko
Your email address    : bamby@marka.net.ua

Category        : runtime: back-end
Severity        : serious

Summary: bug in planner/optimizer

System Configuration
--------------------
  Operating System   : FreeBSD 2.2.6, Linux 2.0.36 RedHat

  PostgreSQL version : 6.4.2

  Compiler used      : gcc-2.7.2.1 and gcc-2.7.2.1

Hardware:
---------
FreeBSD: AMD K6 48M RAM, Linux: Pentium 32M RAM


Versions of other tools:
------------------------
gmake 3.76.1, flex 2.5.4

--------------------------------------------------------------------------

Problem Description:
--------------------
The following request causes coredump of backend with SEGV
SELECT <blah-blah>
 WHERE table1.field = 1 OR table2.field = -1

--------------------------------------------------------------------------

Test Case:
----------
Following three requests demonstrates the bug:
CREATE TABLE a (a int);
CREATE TABLE b (b int);
SELECT * FROM a, b WHERE a = 1 OR b = -1;


--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------


pgsql-bugs by date:

Previous
From: Unprivileged user
Date:
Subject: General Bug Report: Problem Deleting VIEWS
Next
From: Unprivileged user
Date:
Subject: General Bug Report: Postmaster hangs under load