diff options
| author | 2020-12-28 19:53:55 +0100 | |
|---|---|---|
| committer | 2020-12-28 19:53:55 +0100 | |
| commit | 0a2d9b3b54ee51a3965d79c68409ef045ad5834b (patch) | |
| tree | 12cbfd4d1f57a4ba445cc75637c95ba7c7720fb0 /lib/Minz/PdoPgsql.php | |
| parent | c246e5d74b1fb88ada602764f247942f2eebc4ca (diff) | |
Revert "Add a file for each PDO class (#3297)"
This reverts commit e1ee58816ba76734e4115fc12898b13de665b220.
Diffstat (limited to 'lib/Minz/PdoPgsql.php')
| -rw-r--r-- | lib/Minz/PdoPgsql.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/Minz/PdoPgsql.php b/lib/Minz/PdoPgsql.php deleted file mode 100644 index 7d1a1912b..000000000 --- a/lib/Minz/PdoPgsql.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -/** - * MINZ - Copyright 2011 Marien Fressinaud - * Sous licence AGPL3 <http://www.gnu.org/licenses/> - */ - -class Minz_PdoPgsql extends Minz_Pdo { - public function __construct($dsn, $username = null, $passwd = null, $options = null) { - parent::__construct($dsn, $username, $passwd, $options); - $this->exec("SET NAMES 'UTF8';"); - } - - public function dbType() { - return 'pgsql'; - } - - protected function preSql($statement) { - $statement = parent::preSql($statement); - return str_replace(array('`', ' LIKE '), array('"', ' ILIKE '), $statement); - } -} |
