From b3919fa3130e3ea613200cffdd3153d8b53ffab0 Mon Sep 17 00:00:00 2001 From: serge-rider Date: Sun, 6 May 2018 21:56:17 +0300 Subject: [PATCH] PG debug - debug query is of USER type --- .../ext/postgresql/debug/internal/impl/PostgreDebugSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.jkiss.dbeaver.ext.postgresql.debug.core/src/org/jkiss/dbeaver/ext/postgresql/debug/internal/impl/PostgreDebugSession.java b/plugins/org.jkiss.dbeaver.ext.postgresql.debug.core/src/org/jkiss/dbeaver/ext/postgresql/debug/internal/impl/PostgreDebugSession.java index 6fb5feb7ee..770f2a2f34 100644 --- a/plugins/org.jkiss.dbeaver.ext.postgresql.debug.core/src/org/jkiss/dbeaver/ext/postgresql/debug/internal/impl/PostgreDebugSession.java +++ b/plugins/org.jkiss.dbeaver.ext.postgresql.debug.core/src/org/jkiss/dbeaver/ext/postgresql/debug/internal/impl/PostgreDebugSession.java @@ -274,7 +274,7 @@ public class PostgreDebugSession extends DBGJDBCSession { Job job = new AbstractJob(name) { @Override protected IStatus run(DBRProgressMonitor monitor) { - try (JDBCSession session = getConnection().openSession(monitor, DBCExecutionPurpose.UTIL, "Run SQL command")) { + try (JDBCSession session = getConnection().openSession(monitor, DBCExecutionPurpose.USER, "Run SQL command")) { StringBuilder query = new StringBuilder(); query.append("{ CALL ").append(function.getFullyQualifiedName(DBPEvaluationContext.DML)).append("("); for (int i = 0; i < parameters.size(); i++) { -- GitLab