mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
4
src/backend/utils/cache/plancache.c
vendored
4
src/backend/utils/cache/plancache.c
vendored
@@ -621,7 +621,7 @@ RevalidateCachedQuery(CachedPlanSource *plansource)
|
||||
return NIL;
|
||||
}
|
||||
|
||||
/* Ooops, the race case happened. Release useless locks. */
|
||||
/* Oops, the race case happened. Release useless locks. */
|
||||
AcquirePlannerLocks(plansource->query_list, false);
|
||||
}
|
||||
|
||||
@@ -845,7 +845,7 @@ CheckCachedPlan(CachedPlanSource *plansource)
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Ooops, the race case happened. Release useless locks. */
|
||||
/* Oops, the race case happened. Release useless locks. */
|
||||
AcquireExecutorLocks(plan->stmt_list, false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user