Skip to content

Commit cb8a9f3

Browse files
committed
Add PDO PostgreSQL to server type detection
1 parent ec6f4a2 commit cb8a9f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DatabaseDriver.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,10 @@ public function getServerType()
734734
{
735735
$this->serverType = 'postgresql';
736736
}
737+
elseif (stristr($name, 'pgsql') !== false)
738+
{
739+
$this->serverType = 'postgresql';
740+
}
737741
elseif (stristr($name, 'oracle') !== false)
738742
{
739743
$this->serverType = 'oracle';

0 commit comments

Comments
 (0)