From 9abc9e5b6cf8e85f8f73aef395dabe495ca59200 Mon Sep 17 00:00:00 2001 From: Ken Matsui <26405363+ken-matsui@users.noreply.github.com> Date: Fri, 12 Aug 2022 20:47:22 +0900 Subject: [PATCH] Accept `postgres` for DbClient type as well (#1347) --- orm_lib/src/DbClientManager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orm_lib/src/DbClientManager.cc b/orm_lib/src/DbClientManager.cc index 9b6ec352..e01f896c 100644 --- a/orm_lib/src/DbClientManager.cc +++ b/orm_lib/src/DbClientManager.cc @@ -173,7 +173,7 @@ void DbClientManager::createDbClient(const std::string &dbType, info.timeout_ = timeout; info.autoBatch_ = autoBatch; - if (type == "postgresql") + if (type == "postgresql" || type == "postgres") { #if USE_POSTGRESQL info.dbType_ = orm::ClientType::PostgreSQL;