]> granicus.if.org Git - postgresql/commit
Fix Assert failure in ExpandColumnRefStar --- what I thought was a can't
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 27 Sep 2007 17:42:09 +0000 (17:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 27 Sep 2007 17:42:09 +0000 (17:42 +0000)
commit3f850ee9aae6fb09b92fa58235378a7d6bb83c69
tree3bdf9b4a91ab182787bbd829023f9de331ca4424
parentd77a9018faffc2eed3f163de0b55e96064eaa25f
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.
src/backend/parser/parse_target.c