| From: | Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Expressions without type |
| Date: | 2012-08-22 12:48:52 |
| Message-ID: | CAFjFpRe5bOt9wbxD7HhW29+re8=APXxgHOOtKjj__4vczWR1mw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
like they can not be composite type etc. exprType() throws error when it's
passed expressions which do not have type and hence I can not use it
directly. Is there a function, which would tell me whether a given
expression can have a type or not?
--
Best Wishes,
Ashutosh Bapat
EntepriseDB Corporation
The Enterprise Postgres Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit kapila | 2012-08-22 13:07:25 | Re: 9.2RC1 wraps this Thursday ... |
| Previous Message | Peter Eisentraut | 2012-08-22 12:02:21 | Re: 64-bit API for large object |