Skip to content

Commit a6eb696

Browse files
authored
Update README.md
1 parent 0a89b00 commit a6eb696

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ SELECT count(pid), query, waiting from pg_stat_activity group by query, waiting;
2626
```sql
2727
PREPARE current_queries_status_with_locks AS
2828
SELECT count(pg_stat_activity.pid) AS number_of_queries,
29-
substring(trim(LEADING \
29+
substring(trim(LEADING
3030
FROM regexp_replace(pg_stat_activity.query, '[\n\r]+'::text,
31-
' '::text, 'g'::text)) \
32-
FROM 0 \
31+
' '::text, 'g'::text))
32+
FROM 0
3333
FOR 100) AS query_name,
34-
max(age(CURRENT_TIMESTAMP, query_start)) AS max_wait_time, \\
34+
max(age(CURRENT_TIMESTAMP, query_start)) AS max_wait_time,
3535
waiting,
3636
usename,
3737
locktype,

0 commit comments

Comments
 (0)