added config parameter: db_postgresql_smaller_than_10

default false
if true then we are not using ROW() statements in sql queries




git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1099 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2018-04-25 09:37:56 +00:00
parent fd421c54e3
commit b01db89942
5 changed files with 47 additions and 22 deletions

View File

@@ -214,6 +214,7 @@ bool App::Init()
{
db_conn.SetConnParam(config.db_database, config.db_user, config.db_pass);
db_conn.WaitForConnection();
db.PostgreSQLsmallerThan10(config.db_postgresql_smaller_than_10);
db.LogQueries(config.log_db_query);
cur.request->Clear();