mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
Post-PG 10 beta1 pgindent run
perltidy run not included.
This commit is contained in:
4
src/backend/utils/cache/plancache.c
vendored
4
src/backend/utils/cache/plancache.c
vendored
@@ -89,7 +89,7 @@ static CachedPlanSource *first_saved_plan = NULL;
|
||||
|
||||
static void ReleaseGenericPlan(CachedPlanSource *plansource);
|
||||
static List *RevalidateCachedQuery(CachedPlanSource *plansource,
|
||||
QueryEnvironment *queryEnv);
|
||||
QueryEnvironment *queryEnv);
|
||||
static bool CheckCachedPlan(CachedPlanSource *plansource);
|
||||
static CachedPlan *BuildCachedPlan(CachedPlanSource *plansource, List *qlist,
|
||||
ParamListInfo boundParams, QueryEnvironment *queryEnv);
|
||||
@@ -1520,7 +1520,7 @@ AcquireExecutorLocks(List *stmt_list, bool acquire)
|
||||
* acquire a non-conflicting lock.
|
||||
*/
|
||||
if (list_member_int(plannedstmt->resultRelations, rt_index) ||
|
||||
list_member_int(plannedstmt->nonleafResultRelations, rt_index))
|
||||
list_member_int(plannedstmt->nonleafResultRelations, rt_index))
|
||||
lockmode = RowExclusiveLock;
|
||||
else if ((rc = get_plan_rowmark(plannedstmt->rowMarks, rt_index)) != NULL &&
|
||||
RowMarkRequiresRowShareLock(rc->markType))
|
||||
|
Reference in New Issue
Block a user