Neil Conway <neilc(at)samurai(dot)com> writes:
> BTW, is there a reason why exec_cast_value() and friends take a bool *,
> rather than a bool?
I think the reason is that it's both an input and an output parameter,
to handle the case where the cast function returns NULL.
This is obviously a pretty bug-prone convention, however, and so maybe
we should rethink it.
regards, tom lane