Hi,
> It is not as elegant as you would like, but maybe one idea
> is to create your own alias of the built in type so you can
> determine the answer just by looking at the column type. For
> example, instead of using "int" in CREATE TYPE above, create
> a your own type equivalent to an integer.
Thanks for the suggestion. Yes, that should work, but it really
is a very cumbersome and brittle solution.
Cheers,
Dario