pgsql: Make constant-folding produce sane output for

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make constant-folding produce sane output for
Date: 2005-04-10 20:57:33
Message-ID: 20050410205733.5C4645331E@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Make constant-folding produce sane output for COALESCE(NULL,NULL),
that is a plain NULL and not a COALESCE with no inputs. Fixes crash
reported by Michael Williamson.

Modified Files:
--------------
pgsql/src/backend/optimizer/util:
clauses.c (r1.193 -> r1.194)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c.diff?r1=1.193&r2=1.194)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-04-10 20:57:45 pgsql: Make constant-folding produce sane output for
Previous Message Tom Lane 2005-04-10 19:50:08 pgsql: Split out into a separate function the code in grouping_planner()