Set UTF-8 mode and DBIC quoting on Pg database connection
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
* Fix for device counts in VLAN Inventory report
|
* Fix for device counts in VLAN Inventory report
|
||||||
* Forward port housekeeping/schedule and expiry/expire legacy config
|
* Forward port housekeeping/schedule and expiry/expire legacy config
|
||||||
* Store started timestamp on job completion
|
* Store started timestamp on job completion
|
||||||
|
* Set UTF-8 mode and DBIC quoting on Pg database connection
|
||||||
|
|
||||||
2.027007 - 2014-05-27
|
2.027007 - 2014-05-27
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,9 @@ if (ref {} eq ref setting('database')) {
|
|||||||
options => {
|
options => {
|
||||||
AutoCommit => 1,
|
AutoCommit => 1,
|
||||||
RaiseError => 1,
|
RaiseError => 1,
|
||||||
|
quote_names => 1,
|
||||||
auto_savepoint => 1,
|
auto_savepoint => 1,
|
||||||
|
pg_enable_utf8 => 1,
|
||||||
},
|
},
|
||||||
schema_class => 'App::Netdisco::DB',
|
schema_class => 'App::Netdisco::DB',
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user