OSDN Git Service

Restructure log_line_prefix options to be clearer:
authorBruce Momjian <bruce@momjian.us>
Thu, 9 Jun 2005 22:33:05 +0000 (22:33 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 9 Jun 2005 22:33:05 +0000 (22:33 +0000)
#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> '

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

index e68f82b..0aa2a88 100644 (file)
 #log_connections = false
 #log_disconnections = false
 #log_duration = false
-#log_line_prefix = ''          # e.g. '<%u%%%d> ' 
-                               # %u=user name %d=database name
-                               # %r=remote host and port %h=remote host
-                               # %p=PID %t=timestamp %i=command tag
-                               # %m=timestamp with milliseconds
-                               # %c=session id %l=session line number
-                               # %s=session start timestamp %x=transaction id
-                               # %q=stop here in non-session processes
-                               # %%='%'
+#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> '
 #log_statement = 'none'                # none, mod, ddl, all
 #log_hostname = false