db->last_query() and profiling of DB queries. | When you run a query, with this setting set to TRUE (default), | CodeIgniter will store the SQL statement for debugging purposes. | However, this may cause high memory usage, especially if you run | a lot of SQL queries ... disable this to avoid that problem. | | The $active_group variable lets you choose which connection group to | make active. By default there is only one group (the 'default' group). | | The $query_builder variables lets you determine whether or not to load | the query builder class. */ $active_group = 'default'; $query_builder = TRUE; $show_database_error = true; $arr = array(); //$arr["host"] = "10.20.30.27"; $arr["host"] = "10.10.10.23"; $arr["name"] = "wrenchboard"; $arr["user"] = "wrenchboard"; $arr["pass"] = "wrenchboard"; $arr["port"] = 5432; //$arr["port"] = 5438; $db['default'] = array( 'dsn' => '', 'hostname' => $arr["host"], 'username' => $arr["user"], 'password' => $arr["pass"], 'database' => $arr["name"], 'dbdriver' => 'postgre', 'dbprefix' => '', 'pconnect' => FALSE, 'db_debug' => $show_database_error, 'db_debug2' => (ENVIRONMENT !== 'production'), 'cache_on' => FALSE, 'cachedir' => '', 'char_set' => 'utf8', 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'encrypt' => FALSE, 'compress' => FALSE, 'stricton' => FALSE, 'failover' => array(), 'save_queries' => TRUE );