diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-03 03:23:13 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-03 03:23:13 +0100 |
commit | 4cc726913b7a8696dc5cff7456b6a95926b6816b (patch) | |
tree | 007b553ac062bb9827f8469cde5e2f4ecf2c67ad /system/database/drivers/postgre | |
parent | a6a1496b27c87718106645b6f1438023a18ad40c (diff) | |
parent | a19beb0c580ac78c4b75548a046240a85f30cb29 (diff) |
Merge upstream branch
Diffstat (limited to 'system/database/drivers/postgre')
-rw-r--r-- | system/database/drivers/postgre/postgre_utility.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/system/database/drivers/postgre/postgre_utility.php b/system/database/drivers/postgre/postgre_utility.php index c175a382b..1e9580389 100644 --- a/system/database/drivers/postgre/postgre_utility.php +++ b/system/database/drivers/postgre/postgre_utility.php @@ -49,14 +49,12 @@ class CI_DB_postgre_utility extends CI_DB_utility { /** * Optimize table query * - * Is table optimization supported in Postgre? - * * @param string the table name * @return string */ public function _optimize_table($table) { - return 'REINDEX TABLE '.$table; + return 'REINDEX TABLE '.$this->db->protect_identifiers($table); } // -------------------------------------------------------------------- @@ -64,8 +62,6 @@ class CI_DB_postgre_utility extends CI_DB_utility { /** * Repair table query * - * Are table repairs supported in Postgre? - * * @param string the table name * @return bool */ |