RT# 82942 Add FS::DBI, to fix database connection encoding bug
authorMitch Jackson <mitch@freeside.biz>
Sun, 3 Mar 2019 21:35:25 +0000 (16:35 -0500)
committerMitch Jackson <mitch@freeside.biz>
Mon, 4 Mar 2019 00:49:20 +0000 (19:49 -0500)
commitba4c2792eb0c8b828fdef637be6c11bd5d5176ca
tree0be7fa6853de551ea37babc838e8119a4628692a
parent6f9ecf9166104067d8d038fdcc7c8296d0a58cd3
RT# 82942 Add FS::DBI, to fix database connection encoding bug

- Add FS::DBI
  - Drop-in replacement for DBI
  - Ensures client_encoding is set to UTF8 for DBD::Pg
- Implement FS::DBI in FS::UID, where nearly all freeside
  database connections are established
FS/FS/DBI.pm [new file with mode: 0644]
FS/FS/UID.pm