Skip to content

Commit

Permalink
Update TemporaryTableManager.java
Browse files Browse the repository at this point in the history
KNOWAGE-8712: Error scheduling a PostgresSQL Data Set
  • Loading branch information
dedalus95 committed Jan 2, 2025
1 parent 5cb3f2e commit b505a09
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,11 @@ private static void executeStatement(String sql, IDataSource dataSource, int que
}

logger.debug("Executing sql " + sql);
stmt.execute(sql);
if (dialect.contains("PostgreSQL")) {
stmt.execute();
} else {
stmt.execute(sql);
}
if (!dialect.contains("VoltDB")) {
connection.commit();
}
Expand Down

0 comments on commit b505a09

Please sign in to comment.