Re: [HACKERS] Expressions without type

2012-08-22 Thread Tom Lane
Ashutosh Bapat writes: > I need to check type of expressions appearing in a Query tree and I am > using exprType() for that. But for certain expressions their type is not > defined like List, FromExpr, JoinExpr. Such expressions are acceptable in > the code, but expressions which have a type need

[HACKERS] Expressions without type

2012-08-22 Thread Ashutosh Bapat
Hi All, I need to check type of expressions appearing in a Query tree and I am using exprType() for that. But for certain expressions their type is not defined like List, FromExpr, JoinExpr. Such expressions are acceptable in the code, but expressions which have a type need to obey certain criteria