pgsql: Fix Assert failure in ExpandColumnRefStar --- what I thought was

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix Assert failure in ExpandColumnRefStar --- what I thought was
Date: 2007-09-27 17:42:03
Message-ID: 20070927174203.3D1C3753E4C@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix Assert failure in ExpandColumnRefStar --- what I thought was a can't
happen condition can happen given incorrect input. The real problem is that
gram.y should try harder to distinguish * from "*" --- the latter is a legal
column name per spec, and someday we ought to treat it that way. However
fixing that is too invasive for a back-patch, and it's too late for the 8.3
cycle too. So just reduce the Assert to a plain elog for now. Per report
from NikhilS.

Modified Files:
--------------
pgsql/src/backend/parser:
parse_target.c (r1.155 -> r1.156)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_target.c?r1=1.155&r2=1.156)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-09-27 17:42:09 pgsql: Fix Assert failure in ExpandColumnRefStar --- what I thought was
Previous Message Tom Lane 2007-09-27 14:08:32 Re: [COMMITTERS] pgsql: Temporarily modify tsearch regression tests to suppress notice