Skip to content

Commit

Permalink
Add PDO PostgreSQL to server type detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Oct 16, 2016
1 parent ec6f4a2 commit cb8a9f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DatabaseDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,10 @@ public function getServerType()
{
$this->serverType = 'postgresql';
}
elseif (stristr($name, 'pgsql') !== false)
{
$this->serverType = 'postgresql';
}
elseif (stristr($name, 'oracle') !== false)
{
$this->serverType = 'oracle';
Expand Down

0 comments on commit cb8a9f3

Please sign in to comment.