Content-Length: 256932 | pFad | http://github.com/postgrespro/postgres/commit/083d8fa79dbd693f48c1c195bf4f2af3d1e7dc67

34 docs: Improve log_line_prefix session_id query · postgrespro/postgres@083d8fa · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/083d8fa79dbd693f48c1c195bf4f2af3d1e7dc67

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy