summaryrefslogtreecommitdiff
path: root/src/backend/catalog/partition.c
diff options
context:
space:
mode:
authorPeter Eisentraut2018-04-06 16:10:00 +0000
committerPeter Eisentraut2018-04-06 16:37:54 +0000
commitbbca77623fb5e60f5aa5f226998f0f5c7a66bbf0 (patch)
tree83565aeafc20bb297355a397b8c273115e17101f /src/backend/catalog/partition.c
parentcfbecf8100ecb83c07c2017f843b0642580416bf (diff)
Rename MemoryContextCopySetIdentifier() for clarity
MemoryContextCopySetIdentifier -> MemoryContextCopyAndSetIdentifier Discussion: https://www.postgresql.org/message-id/[email protected]
Diffstat (limited to 'src/backend/catalog/partition.c')
-rw-r--r--src/backend/catalog/partition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/catalog/partition.c b/src/backend/catalog/partition.c
index 39ee773d934..275c52c4c3a 100644
--- a/src/backend/catalog/partition.c
+++ b/src/backend/catalog/partition.c
@@ -528,7 +528,7 @@ RelationBuildPartitionDesc(Relation rel)
rel->rd_pdcxt = AllocSetContextCreate(CacheMemoryContext,
"partition descriptor",
ALLOCSET_DEFAULT_SIZES);
- MemoryContextCopySetIdentifier(rel->rd_pdcxt, RelationGetRelationName(rel));
+ MemoryContextCopyAndSetIdentifier(rel->rd_pdcxt, RelationGetRelationName(rel));
oldcxt = MemoryContextSwitchTo(rel->rd_pdcxt);