Update comment in errcodes.txt correctly

Started by Shinoda, Noriyoshi (PN Japan GCS Delivery)over 7 years ago4 messages
1 attachment(s)

Hi, Hackers,

The attached small patch updates src/backend/utils/errcode.txt.
In the comment of this file, a list of file names generated from this file is written.
However, the file name of the 'errcodes.sgml' file is incorrect.
The attached patch fixes the incorrect path of errcodes.sgml file name.

Regards,
Noriyoshi Shinoda

Attachments:

errcodes.txt.patchapplication/octet-stream; name=errcodes.txt.patchDownload
diff --git a/src/backend/utils/errcodes.txt b/src/backend/utils/errcodes.txt
index e297660..0ae3ee6 100644
--- a/src/backend/utils/errcodes.txt
+++ b/src/backend/utils/errcodes.txt
@@ -18,7 +18,7 @@
 #   src/pl/tcl/pltclerrcodes.h
 #      the same, for PL/Tcl
 #
-#   doc/src/sgml/errcodes-list.sgml
+#   doc/src/sgml/errcodes.sgml
 #      a SGML table of error codes for inclusion in the documentation
 #
 # The format of this file is one error code per line, with the following
#2Michael Paquier
michael@paquier.xyz
In reply to: Shinoda, Noriyoshi (PN Japan GCS Delivery) (#1)
Re: Update comment in errcodes.txt correctly

On Thu, Aug 16, 2018 at 01:18:21AM +0000, Shinoda, Noriyoshi (PN Japan GCS Delivery) wrote:

The attached small patch updates src/backend/utils/errcode.txt.
In the comment of this file, a list of file names generated from this file is written.
However, the file name of the 'errcodes.sgml' file is incorrect.
The attached patch fixes the incorrect path of errcodes.sgml file name.

It seems to me that doc/src/sgml/errcodes-table.sgml is the one
generated. errcodes.sgml includes just a reference to the table
produced.
--
Michael

In reply to: Michael Paquier (#2)
1 attachment(s)
RE: Update comment in errcodes.txt correctly

Michael-san,
Thank you for your responsse.

It seems to me that doc/src/sgml/errcodes-table.sgml is the one generated. errcodes.sgml includes just a reference to the table produced.

Oh, I think your opinion is correct.

I attached a modified version.

Regards,
Noriyoshi Shinoda

-----Original Message-----
From: Michael Paquier [mailto:michael@paquier.xyz]
Sent: Thursday, August 16, 2018 12:44 PM
To: Shinoda, Noriyoshi (PN Japan GCS Delivery) <noriyoshi.shinoda@hpe.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Update comment in errcodes.txt correctly

On Thu, Aug 16, 2018 at 01:18:21AM +0000, Shinoda, Noriyoshi (PN Japan GCS Delivery) wrote:

The attached small patch updates src/backend/utils/errcode.txt.
In the comment of this file, a list of file names generated from this file is written.
However, the file name of the 'errcodes.sgml' file is incorrect.
The attached patch fixes the incorrect path of errcodes.sgml file name.

It seems to me that doc/src/sgml/errcodes-table.sgml is the one generated. errcodes.sgml includes just a reference to the table produced.
--
Michael

Attachments:

errcodes.txt.patchapplication/octet-stream; name=errcodes.txt.patchDownload
diff --git a/src/backend/utils/errcodes.txt b/src/backend/utils/errcodes.txt
index e297660..29efb3f 100644
--- a/src/backend/utils/errcodes.txt
+++ b/src/backend/utils/errcodes.txt
@@ -18,7 +18,7 @@
 #   src/pl/tcl/pltclerrcodes.h
 #      the same, for PL/Tcl
 #
-#   doc/src/sgml/errcodes-list.sgml
+#   doc/src/sgml/errcodes-table.sgml
 #      a SGML table of error codes for inclusion in the documentation
 #
 # The format of this file is one error code per line, with the following
#4Michael Paquier
michael@paquier.xyz
In reply to: Shinoda, Noriyoshi (PN Japan GCS Delivery) (#3)
Re: Update comment in errcodes.txt correctly

On Thu, Aug 16, 2018 at 04:36:11AM +0000, Shinoda, Noriyoshi (PN Japan GCS Delivery) wrote:

I attached a modified version.

Thanks, Shinoda-san. Pushed.
--
Michael