mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +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:
@ -93,7 +93,7 @@ extern void MemoryContextCheck(MemoryContext context);
|
||||
extern bool MemoryContextContains(MemoryContext context, void *pointer);
|
||||
|
||||
/* Handy macro for copying and assigning context ID ... but note double eval */
|
||||
#define MemoryContextCopySetIdentifier(cxt, id) \
|
||||
#define MemoryContextCopyAndSetIdentifier(cxt, id) \
|
||||
MemoryContextSetIdentifier(cxt, MemoryContextStrdup(cxt, id))
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user