On May 4, 2011, at 3:04 PM, Alvaro Herrera wrote:
> As someone commented downthread, they also want to have things such as a
> "typeof" operator. It could be used in (say) a plpgsql function to
> choose different branches of code.
FWIW, pg_typeof(any) has been in core since 9.0.
Best,
David