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:
parent
7f97b4734f
commit
7ec4b9ff80
@ -12,11 +12,11 @@
|
|||||||
* src/backend/commands/aggregatecmds.c
|
* src/backend/commands/aggregatecmds.c
|
||||||
*
|
*
|
||||||
* DESCRIPTION
|
* 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
|
* appropriate arguments/flags, passing the results to the
|
||||||
* corresponding "FooDefine" routines (in src/catalog) that do
|
* "AggregateCreate" routine (in src/backend/catalog), which does the
|
||||||
* the actual catalog-munging. These routines also verify permission
|
* actual catalog-munging. DefineAggregate also verifies the permission of
|
||||||
* of the user to execute the command.
|
* the user to execute the command.
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
@ -12,20 +12,7 @@
|
|||||||
* src/backend/commands/define.c
|
* src/backend/commands/define.c
|
||||||
*
|
*
|
||||||
* DESCRIPTION
|
* DESCRIPTION
|
||||||
* The "DefineFoo" routines take the parse tree and pick out the
|
* Support routines for dealing with DefElem nodes.
|
||||||
* 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
|
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* DESCRIPTION
|
* DESCRIPTION
|
||||||
* These routines take the parse tree and pick out the
|
* These routines take the parse tree and pick out the
|
||||||
* appropriate arguments/flags, and pass the results to 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
|
* the actual catalog-munging. These routines also verify permission
|
||||||
* of the user to execute the command.
|
* of the user to execute the command.
|
||||||
*
|
*
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* DESCRIPTION
|
* DESCRIPTION
|
||||||
* The "DefineFoo" routines take the parse tree and pick out the
|
* The "DefineFoo" routines take the parse tree and pick out the
|
||||||
* appropriate arguments/flags, passing the results to 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
|
* the actual catalog-munging. These routines also verify permission
|
||||||
* of the user to execute the command.
|
* of the user to execute the command.
|
||||||
*
|
*
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
* DESCRIPTION
|
* DESCRIPTION
|
||||||
* The "DefineFoo" routines take the parse tree and pick out the
|
* The "DefineFoo" routines take the parse tree and pick out the
|
||||||
* appropriate arguments/flags, passing the results to 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
|
* the actual catalog-munging. These routines also verify permission
|
||||||
* of the user to execute the command.
|
* of the user to execute the command.
|
||||||
*
|
*
|
||||||
|
@ -122,7 +122,7 @@ CommandIsReadOnly(PlannedStmt *pstmt)
|
|||||||
/*
|
/*
|
||||||
* Determine the degree to which a utility command is read only.
|
* 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
|
static int
|
||||||
ClassifyUtilityCommandAsReadOnly(Node *parsetree)
|
ClassifyUtilityCommandAsReadOnly(Node *parsetree)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2024, PostgreSQL Global Development Group
|
* 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
|
#ifndef GUC_INTERNAL_H
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* src/bin/pg_basebackup/astreamer_file.c
|
* src/fe_utils/astreamer_file.c
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* src/bin/pg_basebackup/astreamer_gzip.c
|
* src/fe_utils/astreamer_gzip.c
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* src/bin/pg_basebackup/astreamer_lz4.c
|
* src/fe_utils/astreamer_lz4.c
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* src/bin/pg_basebackup/astreamer_tar.c
|
* src/fe_utils/astreamer_tar.c
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* src/bin/pg_basebackup/astreamer_zstd.c
|
* src/fe_utils/astreamer_zstd.c
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* src/bin/pg_basebackup/astreamer.h
|
* src/include/fe_utils/astreamer.h
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user