1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-24 00:23:06 +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

@@ -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)