Change the intBoolean definition in the Postgresql prototypes to actually work with an integer field instead of a bool.