> > For that matter, why do we allow user expressions to call the type
> > input/output functions at all? They're not really usable as SQL
> > functions AFAICS...
>
> Yes, they take C pointers, don't they. You can't return one of those in
> any SQL function or column name.
Doing textout(byteaout(... really makes no sense. But being
able to do a textin(mytypeout(... does make sense for me.
Without that, there MUST be type casting support for
MYTYPE->TEXT in the parser.
Sometimes ppl implement user defined types. I assume this
kind of type casting is used somewhere in a couple of
applications.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck@debis.com (Jan Wieck) #