Re: ALTER TYPE 3: add facility to identify further no-work cases

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Noah Misch <noah@leadboat.com>, pgsql-hackers@postgresql.org
Date: 2011-01-27T14:46:56Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> OK. I was thinking that instead moving this into
> eval_const_expressions(), we just make the logic in
> find_coercion_pathway() call the "exemptor" function (or whatever we
> call it) right around here:

No, no, no, no.  Didn't you read yesterday's discussion?  parse_coerce
is entirely the wrong place for this.

			regards, tom lane