Anton Melser wrote:> Is there any way to force pg to accept 1 and 0 for boolean?
You can tweak the context for the cast between int and boolean. Read up about the pg_cast system catalog.
-- Peter Eisentrauthttp://developer.postgresql.org/~petere/