1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

Fix incorrect source filename references

Jian He reported the src/include/utility/tcop.h one and the remainder
were found by using a script to look for src/* and check that we have a
filename or directory of that name.

In passing, fix some out-date comments.

Reported-by: Jian He <jian.universality@gmail.com>
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/CACJufxGoE3H-7VgO02=PrR4SNuVWDVbfTyUnwO0HvS-Lxurnog@mail.gmail.com
This commit is contained in:
David Rowley 2024-12-23 19:41:49 +13:00
parent 7f97b4734f
commit 7ec4b9ff80
13 changed files with 16 additions and 29 deletions

View File

@ -12,11 +12,11 @@
* src/backend/commands/aggregatecmds.c
*
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
* The "DefineAggregate" routine takes the parse tree and picks out the
* appropriate arguments/flags, passing the results to the
* corresponding "FooDefine" routines (in src/catalog) that do
* the actual catalog-munging. These routines also verify permission
* of the user to execute the command.
* "AggregateCreate" routine (in src/backend/catalog), which does the
* actual catalog-munging. DefineAggregate also verifies the permission of
* the user to execute the command.
*
*-------------------------------------------------------------------------
*/

View File

@ -12,20 +12,7 @@
* src/backend/commands/define.c
*
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
* appropriate arguments/flags, passing the results to the
* corresponding "FooDefine" routines (in src/catalog) that do
* the actual catalog-munging. These routines also verify permission
* of the user to execute the command.
*
* NOTES
* These things must be defined and committed in the following order:
* "create function":
* input/output, recv/send procedures
* "create type":
* type
* "create operator":
* operators
* Support routines for dealing with DefElem nodes.
*
*
*-------------------------------------------------------------------------

View File

@ -15,7 +15,7 @@
* DESCRIPTION
* These routines take the parse tree and pick out the
* appropriate arguments/flags, and pass the results to the
* corresponding "FooDefine" routines (in src/catalog) that do
* corresponding "FooCreate" routines (in src/backend/catalog) that do
* the actual catalog-munging. These routines also verify permission
* of the user to execute the command.
*

View File

@ -14,7 +14,7 @@
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
* appropriate arguments/flags, passing the results to the
* corresponding "FooDefine" routines (in src/catalog) that do
* corresponding "FooCreate" routines (in src/backend/catalog) that do
* the actual catalog-munging. These routines also verify permission
* of the user to execute the command.
*

View File

@ -13,7 +13,7 @@
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
* appropriate arguments/flags, passing the results to the
* corresponding "FooDefine" routines (in src/catalog) that do
* corresponding "FooCreate" routines (in src/backend/catalog) that do
* the actual catalog-munging. These routines also verify permission
* of the user to execute the command.
*

View File

@ -122,7 +122,7 @@ CommandIsReadOnly(PlannedStmt *pstmt)
/*
* Determine the degree to which a utility command is read only.
*
* Note the definitions of the relevant flags in src/include/utility/tcop.h.
* Note the definitions of the relevant flags in src/include/tcop/utility.h.
*/
static int
ClassifyUtilityCommandAsReadOnly(Node *parsetree)

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 2000-2024, PostgreSQL Global Development Group
*
* src/include/utils/guc_internal.h
* src/backend/utils/misc/guc_internal.h
*--------------------------------------------------------------------
*/
#ifndef GUC_INTERNAL_H

View File

@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/bin/pg_basebackup/astreamer_file.c
* src/fe_utils/astreamer_file.c
*-------------------------------------------------------------------------
*/

View File

@ -20,7 +20,7 @@
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/bin/pg_basebackup/astreamer_gzip.c
* src/fe_utils/astreamer_gzip.c
*-------------------------------------------------------------------------
*/

View File

@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/bin/pg_basebackup/astreamer_lz4.c
* src/fe_utils/astreamer_lz4.c
*-------------------------------------------------------------------------
*/

View File

@ -15,7 +15,7 @@
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/bin/pg_basebackup/astreamer_tar.c
* src/fe_utils/astreamer_tar.c
*-------------------------------------------------------------------------
*/

View File

@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/bin/pg_basebackup/astreamer_zstd.c
* src/fe_utils/astreamer_zstd.c
*-------------------------------------------------------------------------
*/

View File

@ -24,7 +24,7 @@
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/bin/pg_basebackup/astreamer.h
* src/include/fe_utils/astreamer.h
*-------------------------------------------------------------------------
*/