diff options
author | admin <devnull@localhost> | 2006-09-02 04:39:45 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-02 04:39:45 +0200 |
commit | eb6db84333c40ed8d15dec5014564120ee0c60e6 (patch) | |
tree | 550ed1822d36fa35469ad4d7cc60a116789b1213 /system/drivers/DB_postgre.php | |
parent | 671dc754ef954eecf4c2e8301dde5b3aba6bfedc (diff) |
Diffstat (limited to 'system/drivers/DB_postgre.php')
-rw-r--r-- | system/drivers/DB_postgre.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/system/drivers/DB_postgre.php b/system/drivers/DB_postgre.php index cf59f0fdc..fd98ec78b 100644 --- a/system/drivers/DB_postgre.php +++ b/system/drivers/DB_postgre.php @@ -211,7 +211,8 @@ class CI_DB_postgre extends CI_DB { * Escape Table Name * * This function adds backticks if the table name has a period - * in it. Some DBs will get cranky unless periods are escaped + * in it. Some DBs will get cranky unless periods are escaped. + * NOT NEEDED FOR POSTGRE * * @access public * @param string the table name @@ -219,10 +220,12 @@ class CI_DB_postgre extends CI_DB { */ function escape_table($table) { + /* if (stristr($table, '.')) { - $table = preg_replace("/\./", ".", $table); + $table = preg_replace("/\./", "`.`", $table); } + */ return $table; } |