Bug found: fmgr_info: function : cache lookup failed - Mailing list pgsql-hackers

From Bradley Kieser
Subject Bug found: fmgr_info: function : cache lookup failed
Date
Msg-id 3D06190D.2040109@kieser.net
Whole thread Raw
Responses Re: Bug found: fmgr_info: function : cache lookup failed
List pgsql-hackers
If you double-alias a column in a query (yeah, stupid, I know, but I did 
it by mistake and others will too!), then the dreaded "fmgr_info: 
function <number>: cache lookup failed" message is kicked out. For example:
 select * from company c, references r where r.company_id=c.company.id;

Note that c.company.id references column id in table company twice!

Hope that this finds someone looking at the error handling in the 
parser! Should be chucked out as a syntax error.

Brad



pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: Timestamp/Interval proposals: Part 2
Next
From: Thomas Lockhart
Date:
Subject: New string functions; initdb required