diff options
Diffstat (limited to 'system/database/drivers/postgre/postgre_forge.php')
-rw-r--r-- | system/database/drivers/postgre/postgre_forge.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/postgre/postgre_forge.php b/system/database/drivers/postgre/postgre_forge.php index b9e1cd9bb..5b4bcc295 100644 --- a/system/database/drivers/postgre/postgre_forge.php +++ b/system/database/drivers/postgre/postgre_forge.php @@ -72,7 +72,7 @@ class CI_DB_postgre_forge extends CI_DB_forge { $sql .= 'IF NOT EXISTS ';
}
- $sql .= $this->db->_escape_table($table)." (";
+ $sql .= $this->db->_escape_identifiers($table)." (";
$current_field_count = 0;
foreach ($fields as $field=>$attributes)
@@ -167,7 +167,7 @@ class CI_DB_postgre_forge extends CI_DB_forge { */
function _drop_table($table)
{
- return "DROP TABLE ".$this->db->_escape_table($table)." CASCADE";
+ return "DROP TABLE ".$this->db->_escape_identifiers($table)." CASCADE";
}
// --------------------------------------------------------------------
|