Fix incorrect file reference in guc.h master github/master
authorMichael Paquier <michael@paquier.xyz>
Thu, 11 Sep 2025 01:15:33 +0000 (10:15 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 11 Sep 2025 01:15:33 +0000 (10:15 +0900)
GucSource_Names was documented as being in guc.c, but since 0a20ff54f5e6
it is located in guc_tables.c.  The reference to the location of
GucSource_Names is important, as GucSource needs to be kept in sync with
GucSource_Names.

Author: David G. Johnston <david.g.johnston@gmail.com>
Discussion: https://postgr.es/m/CAKFQuwYPgAHWPYjPzK7iXzhSZ6MKR8w20_Nz7ZXpOvx=kZbs7A@mail.gmail.com
Backpatch-through: 16

src/include/utils/guc.h

index 756e80a2c2fcc39bf8787061bc9bd2d13ca9c640..f21ec37da8933ee9d81b4ca4e705067ba48b6b30 100644 (file)
@@ -106,7 +106,7 @@ typedef enum
  * will show as "default" in pg_settings.  If there is a specific reason not
  * to want that, use source == PGC_S_OVERRIDE.
  *
  * will show as "default" in pg_settings.  If there is a specific reason not
  * to want that, use source == PGC_S_OVERRIDE.
  *
- * NB: see GucSource_Names in guc.c if you change this.
+ * NB: see GucSource_Names in guc_tables.c if you change this.
  */
 typedef enum
 {
  */
 typedef enum
 {