aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/tools/factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/db/tools/factory.php')
-rw-r--r--phpBB/phpbb/db/tools/factory.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/tools/factory.php b/phpBB/phpbb/db/tools/factory.php
index 24e2a4d875..d204451a63 100644
--- a/phpBB/phpbb/db/tools/factory.php
+++ b/phpBB/phpbb/db/tools/factory.php
@@ -29,6 +29,10 @@ class factory
{
return new \phpbb\db\tools\mssql($db_driver, $return_statements);
}
+ else if ($db_driver instanceof \phpbb\db\driver\postgres)
+ {
+ return new \phpbb\db\tools\postgres($db_driver, $return_statements);
+ }
else if ($db_driver instanceof \phpbb\db\driver\driver_interface)
{
return new \phpbb\db\tools\tools($db_driver, $return_statements);