diff options
Diffstat (limited to 'system/database/drivers/postgre')
-rw-r--r-- | system/database/drivers/postgre/postgre_driver.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php index 2b1d53953..c9365fdb1 100644 --- a/system/database/drivers/postgre/postgre_driver.php +++ b/system/database/drivers/postgre/postgre_driver.php @@ -158,7 +158,8 @@ class CI_DB_postgre_driver extends CI_DB { */ function _version() { - return "SELECT version() AS ver"; + $pg_version = pg_version($this->conn_id); + return $pg_version; } // -------------------------------------------------------------------- |