int f = SettingsTools.getFetchSize(fetchSize, ctx.settings()); if (f != 0) { if (log.isDebugEnabled())
int f = SettingsTools.getFetchSize(fetchSize, ctx.settings()); if (asList(POSTGRES).contains(ctx.family()) && f != 0 && ctx.connection().getAutoCommit()) log.info("Fetch Size", "A fetch size of " + f + " was set on a auto-commit PostgreSQL connection, which is not recommended. See http://jdbc.postgresql.org/documentation/head/query.html#query-with-cursor");