diff --git a/system/Database/Postgre/Builder.php b/system/Database/Postgre/Builder.php index 61562a7f8d65..3749d8383237 100644 --- a/system/Database/Postgre/Builder.php +++ b/system/Database/Postgre/Builder.php @@ -579,11 +579,7 @@ static function ($key, $value) use ($table, $alias, $that) { ); } - return $table . '.' . $value . ' = ' - . $that->cast( - $alias . '.' . $value, - $that->getFieldType($table, $key) - ); + return $table . '.' . $value . ' = ' . $alias . '.' . $value; }, array_keys($constraints), $constraints