mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
Rename MemoryContextCopySetIdentifier() for clarity
MemoryContextCopySetIdentifier -> MemoryContextCopyAndSetIdentifier Discussion: https://www.postgresql.org/message-id/6421.1522194949@sss.pgh.pa.us
This commit is contained in:
2
src/backend/utils/cache/plancache.c
vendored
2
src/backend/utils/cache/plancache.c
vendored
@@ -952,7 +952,7 @@ BuildCachedPlan(CachedPlanSource *plansource, List *qlist,
|
||||
plan_context = AllocSetContextCreate(CurrentMemoryContext,
|
||||
"CachedPlan",
|
||||
ALLOCSET_START_SMALL_SIZES);
|
||||
MemoryContextCopySetIdentifier(plan_context, plansource->query_string);
|
||||
MemoryContextCopyAndSetIdentifier(plan_context, plansource->query_string);
|
||||
|
||||
/*
|
||||
* Copy plan into the new context.
|
||||
|
Reference in New Issue
Block a user