On Wed, 2011-07-06 at 15:14 -0400, Tom Lane wrote:
> > I ran into problems with that before... I think with the I/O functions.
> > I don't think that's a problem here, but I thought I'd ask.
>
> I think it'd probably be all right to do that. The places where you
> might find shortcuts being taken are where functions are called directly
> by C code, such as I/O function calls --- but these constructors should
> only ever get invoked from SQL queries, no?
Perhaps index expressions/predicates as well (which are also fine). I
was more worried about some case that I hadn't thought of.
Regards,Jeff Davis