aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/executor')
-rw-r--r--src/backend/executor/execMain.c8
-rw-r--r--src/backend/executor/execParallel.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 2cf6dad7685..8638bd3dd96 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -131,11 +131,11 @@ ExecutorStart(QueryDesc *queryDesc, int eflags)
{
/*
* In some cases (e.g. an EXECUTE statement) a query execution will skip
- * parse analysis, which means that the queryid won't be reported. Note
- * that it's harmless to report the queryid multiple time, as the call will
- * be ignored if the top level queryid has already been reported.
+ * parse analysis, which means that the query_id won't be reported. Note
+ * that it's harmless to report the query_id multiple time, as the call will
+ * be ignored if the top level query_id has already been reported.
*/
- pgstat_report_queryid(queryDesc->plannedstmt->queryId, false);
+ pgstat_report_query_id(queryDesc->plannedstmt->queryId, false);
if (ExecutorStart_hook)
(*ExecutorStart_hook) (queryDesc, eflags);
diff --git a/src/backend/executor/execParallel.c b/src/backend/executor/execParallel.c
index 5dab1e36b9b..12c41d746b2 100644
--- a/src/backend/executor/execParallel.c
+++ b/src/backend/executor/execParallel.c
@@ -175,7 +175,7 @@ ExecSerializePlan(Plan *plan, EState *estate)
*/
pstmt = makeNode(PlannedStmt);
pstmt->commandType = CMD_SELECT;
- pstmt->queryId = pgstat_get_my_queryid();
+ pstmt->queryId = pgstat_get_my_query_id();
pstmt->hasReturning = false;
pstmt->hasModifyingCTE = false;
pstmt->canSetTag = true;