1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.159 2007/12/11 15:19:05 alvherre Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.160 2007/12/11 20:07:31 alvherre Exp $ -->
2
2
3
3
<chapter Id="runtime-config">
4
4
<title>Server Configuration</title>
@@ -3001,7 +3001,7 @@ local0.* /var/log/postgresql
3001
3001
</row>
3002
3002
<row>
3003
3003
<entry><literal>%l</literal></entry>
3004
- <entry>Number of the log line for each process, starting at 1</entry>
3004
+ <entry>Number of the log line for each session or process, starting at 1</entry>
3005
3005
<entry>no</entry>
3006
3006
</row>
3007
3007
<row>
@@ -3167,7 +3167,7 @@ local0.* /var/log/postgresql
3167
3167
provides a convenient way to import log files into a database table.
3168
3168
This option emits log lines in comma-separated-value format,
3169
3169
with these columns: timestamp with milliseconds, user name, database
3170
- name, session ID, host:port number, process ID, per-process line
3170
+ name, process ID, host:port number, session ID, per-session or -process line
3171
3171
number, command tag, session start time, virtual transaction ID,
3172
3172
regular transaction id, error severity, SQL state code, error message,
3173
3173
error message detail, hint, internal query that led to the error (if
@@ -3181,13 +3181,13 @@ local0.* /var/log/postgresql
3181
3181
<programlisting>
3182
3182
CREATE TABLE postgres_log
3183
3183
(
3184
- log_time timestamp with time zone,
3184
+ log_time timestamp(3) with time zone,
3185
3185
user_name text,
3186
3186
database_name text,
3187
- session_id text,
3188
- connection_from text,
3189
3187
process_id integer,
3190
- process_line_num bigint,
3188
+ connection_from text,
3189
+ session_id text,
3190
+ session_line_num bigint,
3191
3191
command_tag text,
3192
3192
session_start_time timestamp with time zone,
3193
3193
virtual_transaction_id text,
@@ -3203,7 +3203,7 @@ CREATE TABLE postgres_log
3203
3203
query text,
3204
3204
query_pos integer,
3205
3205
location text,
3206
- PRIMARY KEY (session_id, process_line_num )
3206
+ PRIMARY KEY (session_id, session_line_num )
3207
3207
);
3208
3208
</programlisting>
3209
3209
</para>
0 commit comments