diff options
author | Peter Eisentraut | 2018-04-06 16:10:00 +0000 |
---|---|---|
committer | Peter Eisentraut | 2018-04-06 16:37:54 +0000 |
commit | bbca77623fb5e60f5aa5f226998f0f5c7a66bbf0 (patch) | |
tree | 83565aeafc20bb297355a397b8c273115e17101f /src/backend/commands/policy.c | |
parent | cfbecf8100ecb83c07c2017f843b0642580416bf (diff) |
Rename MemoryContextCopySetIdentifier() for clarity
MemoryContextCopySetIdentifier -> MemoryContextCopyAndSetIdentifier
Discussion: https://www.postgresql.org/message-id/[email protected]
Diffstat (limited to 'src/backend/commands/policy.c')
-rw-r--r-- | src/backend/commands/policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/policy.c b/src/backend/commands/policy.c index 00841b3b8a0..b2b845613d5 100644 --- a/src/backend/commands/policy.c +++ b/src/backend/commands/policy.c @@ -214,7 +214,7 @@ RelationBuildRowSecurity(Relation relation) SysScanDesc sscan; HeapTuple tuple; - MemoryContextCopySetIdentifier(rscxt, + MemoryContextCopyAndSetIdentifier(rscxt, RelationGetRelationName(relation)); rsdesc = MemoryContextAllocZero(rscxt, sizeof(RowSecurityDesc)); |