Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7ec4b9f

Browse files
committed
Fix incorrect source filename references
Jian He reported the src/include/utility/tcop.h one and the remainderwere found by using a script to look for src/* and check that we have afilename or directory of that name.In passing, fix some out-date comments.Reported-by: Jian He <jian.universality@gmail.com>Reviewed-by: Tom LaneDiscussion:https://postgr.es/m/CACJufxGoE3H-7VgO02=PrR4SNuVWDVbfTyUnwO0HvS-Lxurnog@mail.gmail.com
1 parent7f97b47 commit7ec4b9f

File tree

13 files changed

+16
-29
lines changed

13 files changed

+16
-29
lines changed

‎src/backend/commands/aggregatecmds.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
* src/backend/commands/aggregatecmds.c
1313
*
1414
* DESCRIPTION
15-
* The "DefineFoo" routines take the parse tree andpick out the
15+
* The "DefineAggregate" routine takes the parse tree andpicks out the
1616
* appropriate arguments/flags, passing the results to the
17-
*corresponding "FooDefine" routines (in src/catalog) that do
18-
*theactual catalog-munging.These routinesalsoverifypermission
19-
*ofthe user to execute the command.
17+
*"AggregateCreate" routine (in src/backend/catalog), which does the
18+
* actual catalog-munging.DefineAggregatealsoverifies thepermission of
19+
* the user to execute the command.
2020
*
2121
*-------------------------------------------------------------------------
2222
*/

‎src/backend/commands/define.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,7 @@
1212
* src/backend/commands/define.c
1313
*
1414
* DESCRIPTION
15-
* The "DefineFoo" routines take the parse tree and pick out the
16-
* appropriate arguments/flags, passing the results to the
17-
* corresponding "FooDefine" routines (in src/catalog) that do
18-
* the actual catalog-munging. These routines also verify permission
19-
* of the user to execute the command.
20-
*
21-
* NOTES
22-
* These things must be defined and committed in the following order:
23-
*"create function":
24-
*input/output, recv/send procedures
25-
*"create type":
26-
*type
27-
*"create operator":
28-
*operators
15+
* Support routines for dealing with DefElem nodes.
2916
*
3017
*
3118
*-------------------------------------------------------------------------

‎src/backend/commands/functioncmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* DESCRIPTION
1616
* These routines take the parse tree and pick out the
1717
* appropriate arguments/flags, and pass the results to the
18-
* corresponding "FooDefine" routines (in src/catalog) that do
18+
* corresponding "FooCreate" routines (in src/backend/catalog) that do
1919
* the actual catalog-munging. These routines also verify permission
2020
* of the user to execute the command.
2121
*

‎src/backend/commands/operatorcmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* DESCRIPTION
1515
* The "DefineFoo" routines take the parse tree and pick out the
1616
* appropriate arguments/flags, passing the results to the
17-
* corresponding "FooDefine" routines (in src/catalog) that do
17+
* corresponding "FooCreate" routines (in src/backend/catalog) that do
1818
* the actual catalog-munging. These routines also verify permission
1919
* of the user to execute the command.
2020
*

‎src/backend/commands/typecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* DESCRIPTION
1414
* The "DefineFoo" routines take the parse tree and pick out the
1515
* appropriate arguments/flags, passing the results to the
16-
* corresponding "FooDefine" routines (in src/catalog) that do
16+
* corresponding "FooCreate" routines (in src/backend/catalog) that do
1717
* the actual catalog-munging. These routines also verify permission
1818
* of the user to execute the command.
1919
*

‎src/backend/tcop/utility.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ CommandIsReadOnly(PlannedStmt *pstmt)
122122
/*
123123
* Determine the degree to which a utility command is read only.
124124
*
125-
* Note the definitions of the relevant flags in src/include/utility/tcop.h.
125+
* Note the definitions of the relevant flags in src/include/tcop/utility.h.
126126
*/
127127
staticint
128128
ClassifyUtilityCommandAsReadOnly(Node*parsetree)

‎src/backend/utils/misc/guc_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 2000-2024, PostgreSQL Global Development Group
88
*
9-
* src/include/utils/guc_internal.h
9+
* src/backend/utils/misc/guc_internal.h
1010
*--------------------------------------------------------------------
1111
*/
1212
#ifndefGUC_INTERNAL_H

‎src/fe_utils/astreamer_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
1010
*
1111
* IDENTIFICATION
12-
* src/bin/pg_basebackup/astreamer_file.c
12+
* src/fe_utils/astreamer_file.c
1313
*-------------------------------------------------------------------------
1414
*/
1515

‎src/fe_utils/astreamer_gzip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
2121
*
2222
* IDENTIFICATION
23-
* src/bin/pg_basebackup/astreamer_gzip.c
23+
* src/fe_utils/astreamer_gzip.c
2424
*-------------------------------------------------------------------------
2525
*/
2626

‎src/fe_utils/astreamer_lz4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
1010
*
1111
* IDENTIFICATION
12-
* src/bin/pg_basebackup/astreamer_lz4.c
12+
* src/fe_utils/astreamer_lz4.c
1313
*-------------------------------------------------------------------------
1414
*/
1515

‎src/fe_utils/astreamer_tar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
1616
*
1717
* IDENTIFICATION
18-
* src/bin/pg_basebackup/astreamer_tar.c
18+
* src/fe_utils/astreamer_tar.c
1919
*-------------------------------------------------------------------------
2020
*/
2121

‎src/fe_utils/astreamer_zstd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
1010
*
1111
* IDENTIFICATION
12-
* src/bin/pg_basebackup/astreamer_zstd.c
12+
* src/fe_utils/astreamer_zstd.c
1313
*-------------------------------------------------------------------------
1414
*/
1515

‎src/include/fe_utils/astreamer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
2525
*
2626
* IDENTIFICATION
27-
* src/bin/pg_basebackup/astreamer.h
27+
* src/include/fe_utils/astreamer.h
2828
*-------------------------------------------------------------------------
2929
*/
3030

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp