1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
5 * An open source application development framework for PHP 5.1.6 or newer
8 * @author ExpressionEngine Dev Team
9 * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc.
10 * @license http://codeigniter.com/user_guide/license.html
11 * @link http://codeigniter.com
16 // ------------------------------------------------------------------------
19 * Postgre Utility Class
22 * @author ExpressionEngine Dev Team
23 * @link http://codeigniter.com/user_guide/database/
25 class CI_DB_postgre_utility extends CI_DB_utility {
33 function _list_databases()
35 return "SELECT datname FROM pg_database";
38 // --------------------------------------------------------------------
41 * Optimize table query
43 * Is table optimization supported in Postgre?
46 * @param string the table name
49 function _optimize_table($table)
54 // --------------------------------------------------------------------
59 * Are table repairs supported in Postgre?
62 * @param string the table name
65 function _repair_table($table)
70 // --------------------------------------------------------------------
76 * @param array Preferences
79 function _backup($params = array())
81 // Currently unsupported
82 return $this->db->display_error('db_unsuported_feature');
87 /* End of file postgre_utility.php */
88 /* Location: ./system/database/drivers/postgre/postgre_utility.php */