Skip to content

Commit fcc55d9

Browse files
committed
fix: fixed Current Locks fields order
1 parent acc9ddb commit fcc55d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/tools/report/pgsql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class PostgresInfo(object):
185185
AND blocking_locks.pid != blocked_locks.pid
186186
JOIN pg_catalog.pg_stat_activity blocking_activity ON blocking_activity.pid = blocking_locks.pid
187187
WHERE NOT blocked_locks.granted;
188-
""", ("database", "blocked pid", "blocked user", "blocking pid", "blocking user", "blocked statement", "duration"))
188+
""", ("blocked pid", "database", "blocked user", "blocking pid", "blocking user", "blocked statement", "duration"))
189189

190190
def __init__(self, args):
191191
self.args = args

0 commit comments

Comments
 (0)