IDEMPIERE-4962 Performance: change PostgreSQL native dialect mode default to true (#879)

This commit is contained in:
hengsin 2021-09-14 23:32:38 +08:00 committed by GitHub
parent 309eb5366f
commit e78496e954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1236,8 +1236,10 @@ public class DB_PostgreSQL implements AdempiereDatabase
return false; return false;
else if (sysNative != null) else if (sysNative != null)
return sysNative; return sysNative;
else else if (!Util.isEmpty(Ini.getProperty(P_POSTGRE_SQL_NATIVE), true))
return Ini.isPropertyBool(P_POSTGRE_SQL_NATIVE); return Ini.isPropertyBool(P_POSTGRE_SQL_NATIVE);
else
return true;
} }
/** /**