EllisLab/CodeIgniter — pull request #1355 by shidec (2012-05-14 09:03:29+00:00)
Title: Escaping boolean data type, some DBMS (e.g., postgre) need it

Actually boolean field type need TRUE or FALSE value. Common DBMS (e.g., MySQL) can substite this value with 1 or 0 (similar to PHP does), but it can't be implemented on PostgreSQL. So, its better to use TRUE or FALSE value for boolean field type