Re: jsonlog cursor_position type is wrong. - Mailing list pgsql-docs

From Tatsuo Ishii
Subject Re: jsonlog cursor_position type is wrong.
Date
Msg-id 20221024.122416.2112506591784053161.t-ishii@sranhm.sra.co.jp
Whole thread Raw
In response to jsonlog cursor_position type is wrong.  (nuko yokohama <nuko.yokohama@gmail.com>)
Responses Re: jsonlog cursor_position type is wrong.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
> Hi.
> 
> PostgreSQL document In "Table 20.3. Keys and Values of JSON Log Entries",
> "Type" in cursor_position should be "number", not "Sting".
> https://www.postgresql.org/docs/current/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-JSONLOG-KEYS-VALUES

Yeah, that's a typo. Patch attached.

Best reagards,
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 703f6d5a7f..724c832308 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -7794,7 +7794,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
         </row>
         <row>
          <entry><literal>cursor_position</literal></entry>
-         <entry>string</entry>
+         <entry>number</entry>
          <entry>Cursor index into query string</entry>
         </row>
         <row>

pgsql-docs by date:

Previous
From: nuko yokohama
Date:
Subject: jsonlog cursor_position type is wrong.
Next
From: Tom Lane
Date:
Subject: Re: jsonlog cursor_position type is wrong.