diff --git a/generator/classes/propel/engine/builder/sql/pgsql/PgsqlDataSQLBuilder.php b/generator/classes/propel/engine/builder/sql/pgsql/PgsqlDataSQLBuilder.php
index <HASH>..<HASH> 100644
--- a/generator/classes/propel/engine/builder/sql/pgsql/PgsqlDataSQLBuilder.php
+++ b/generator/classes/propel/engine/builder/sql/pgsql/PgsqlDataSQLBuilder.php
@@ -37,6 +37,9 @@ class PgsqlDataSQLBuilder extends DataSQLBuilder {
      */
     protected function getBooleanSql($value) 
     {
+    	if ($value === 'f' || $value === 'false' || $value === "0") {
+			$value = false;
+		}
 		return ($value ? "'t'" : "'f'");
     }
ticket:<I> - Fix to Postgres generated SQL for BOOLEAN columns.