git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f87f214)
docs: Improve log_line_prefix session_id query
Sat, 4 May 2013 17:23:04 +0000 (13:23 -0400)
Sat, 4 May 2013 17:23:04 +0000 (13:23 -0400)

diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 8323bd6a89d70f9fe3d484d634ef7b14c10ed547..7b3e61794707307c6ee63eec5cfc1ffa484d2d91 100644 (file)
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -4096,7 +4096,7 @@ local0.* /var/log/postgresql
identifier from <literal>pg_stat_activity</>, use this query:
<programlisting>
SELECT to_hex(EXTRACT(EPOCH FROM backend_start)::integer) || '.' ||
- regexp_replace('0000' || to_hex(pid), '^0*(.*....)$', '1円')
+ regexp_replace('0000' || '0133e3', '^0*(.{4,})$', '1円')
FROM pg_stat_activity;
</programlisting>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /