Skip to content

Commit 083d8fa

Browse files
committed
docs: Improve log_line_prefix session_id query
1 parent f87f214 commit 083d8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4096,7 +4096,7 @@ local0.* /var/log/postgresql
40964096
identifier from <literal>pg_stat_activity</>, use this query:
40974097
<programlisting>
40984098
SELECT to_hex(EXTRACT(EPOCH FROM backend_start)::integer) || '.' ||
4099-
regexp_replace('0000' || to_hex(pid), '^0*(.*....)$', '\1')
4099+
regexp_replace('0000' || '0133e3', '^0*(.{4,})$', '\1')
41004100
FROM pg_stat_activity;
41014101
</programlisting>
41024102

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy