Separate multiple Blocking PIDs with delimiter on Dashboard. #6331

This commit is contained in:
asdf-qwert 2023-05-29 07:32:29 +02:00 committed by GitHub
parent e3aa616edd
commit 8ba7cea2f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ SELECT
pg_catalog.to_char(backend_start, 'YYYY-MM-DD HH24:MI:SS TZ') AS backend_start,
state,
wait_event_type || ': ' || wait_event AS wait_event,
pg_catalog.pg_blocking_pids(pid) AS blocking_pids,
array_to_string(pg_catalog.pg_blocking_pids(pid), ', ') AS blocking_pids,
query,
pg_catalog.to_char(state_change, 'YYYY-MM-DD HH24:MI:SS TZ') AS state_change,
pg_catalog.to_char(query_start, 'YYYY-MM-DD HH24:MI:SS TZ') AS query_start,