Skip to content

Commit 4778c33

Browse files
committed
Restructure log_line_prefix options to be clearer:
#log_line_prefix = '' # %u = user name # %d = database name # %r = remote host and port # %h = remote host # %p = PID # %t = timestamp # %m = timestamp with milliseconds # %i = command tag # %c = session id # %l = session line number # %s = session start timestamp # %x = transaction id # %q = stop here in non-session processes # %% = '%' # e.g. '<%u%%%d> '
1 parent 6c2ba14 commit 4778c33

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,21 @@
239239
#log_connections = false
240240
#log_disconnections = false
241241
#log_duration = false
242-
#log_line_prefix = '' # e.g. '<%u%%%d> '
243-
# %u=user name %d=database name
244-
# %r=remote host and port %h=remote host
245-
# %p=PID %t=timestamp %i=command tag
246-
# %m=timestamp with milliseconds
247-
# %c=session id %l=session line number
248-
# %s=session start timestamp %x=transaction id
249-
# %q=stop here in non-session processes
250-
# %%='%'
242+
#log_line_prefix = '' # %u = user name
243+
# %d = database name
244+
# %r = remote host and port
245+
# %h = remote host
246+
# %p = PID
247+
# %t = timestamp
248+
# %m = timestamp with milliseconds
249+
# %i = command tag
250+
# %c = session id
251+
# %l = session line number
252+
# %s = session start timestamp
253+
# %x = transaction id
254+
# %q = stop here in non-session processes
255+
# %% = '%'
256+
# e.g. '<%u%%%d> '
251257
#log_statement = 'none' # none, mod, ddl, all
252258
#log_hostname = false
253259

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