Phil Endecott wrote:
> > Is there any way to force pg to accept 1 and 0 for boolean?
>
> There is something called "create cast ... without function" which
> /might/ do what you want.
No, it won't, mainly because int and boolean are not binary compatible.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/