Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Christopher Kings-Lynne wrote:
>> Needs to return 0 or 1 though.
> All Boolean operators in MySQL do that, so to create an illusion of
> MySQL compatibility, you'd need to redefine all standard Boolean
> operators. I don't think you want that.
Wonder if making an implicit cast from bool to int would answer for
that.
regards, tom lane