diff options
author | David Rowley | 2024-12-23 06:41:49 +0000 |
---|---|---|
committer | David Rowley | 2024-12-23 06:41:49 +0000 |
commit | 7ec4b9ff80d92fee3c41eb1a069cc32d0ec11da1 (patch) | |
tree | 04bb50ab45235625c97fe785901363e17c7769aa /src/backend | |
parent | 7f97b4734f937db6f8dab1bbf8bbaab349e6c9b1 (diff) |
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
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/commands/aggregatecmds.c | 8 | ||||
-rw-r--r-- | src/backend/commands/define.c | 15 | ||||
-rw-r--r-- | src/backend/commands/functioncmds.c | 2 | ||||
-rw-r--r-- | src/backend/commands/operatorcmds.c | 2 | ||||
-rw-r--r-- | src/backend/commands/typecmds.c | 2 | ||||
-rw-r--r-- | src/backend/tcop/utility.c | 2 | ||||
-rw-r--r-- | src/backend/utils/misc/guc_internal.h | 2 |
7 files changed, 10 insertions, 23 deletions
diff --git a/src/backend/commands/aggregatecmds.c b/src/backend/commands/aggregatecmds.c index fde5a2a0e04..3f117d8e2c6 100644 --- a/src/backend/commands/aggregatecmds.c +++ b/src/backend/commands/aggregatecmds.c @@ -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. * *------------------------------------------------------------------------- */ diff --git a/src/backend/commands/define.c b/src/backend/commands/define.c index 43f50066ea0..8921b279312 100644 --- a/src/backend/commands/define.c +++ b/src/backend/commands/define.c @@ -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. * * *------------------------------------------------------------------------- diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c index 6fc3863265d..82dd6598937 100644 --- a/src/backend/commands/functioncmds.c +++ b/src/backend/commands/functioncmds.c @@ -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. * diff --git a/src/backend/commands/operatorcmds.c b/src/backend/commands/operatorcmds.c index 5872a3e1922..ec8b053ba48 100644 --- a/src/backend/commands/operatorcmds.c +++ b/src/backend/commands/operatorcmds.c @@ -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. * diff --git a/src/backend/commands/typecmds.c b/src/backend/commands/typecmds.c index 4f20b5be064..a6bb0b70f5d 100644 --- a/src/backend/commands/typecmds.c +++ b/src/backend/commands/typecmds.c @@ -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. * diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 33dea5a781c..c2ed8214ef6 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -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) diff --git a/src/backend/utils/misc/guc_internal.h b/src/backend/utils/misc/guc_internal.h index 9695dcd5b7d..91acc1b3206 100644 --- a/src/backend/utils/misc/guc_internal.h +++ b/src/backend/utils/misc/guc_internal.h @@ -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 |