mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Remove CXT_printf/CXT1_printf macros. If anyone had found them to be of
any use in the past many years, we'd have made some effort to include them in all executor node types; but in fact they were only in nodeAppend.c and nodeIndexscan.c, up until I copied nodeIndexscan.c's occurrence into the new bitmap node types. Remove some other unused macros in execdebug.h, too. Some day the whole header probably ought to go away in favor of better-designed facilities.
This commit is contained in:
@ -65,21 +65,21 @@ char *pgxml_errorMsg = NULL; /* overall error message */
|
||||
static void *
|
||||
pgxml_palloc(size_t size)
|
||||
{
|
||||
/* elog(DEBUG1,"Alloc %d in CMC %x",size,CurrentMemoryContext); */
|
||||
/* elog(DEBUG1,"Alloc %d in CMC %p",size,CurrentMemoryContext); */
|
||||
return palloc(size);
|
||||
}
|
||||
|
||||
static void *
|
||||
pgxml_repalloc(void *ptr, size_t size)
|
||||
{
|
||||
/* elog(DEBUG1,"ReAlloc in CMC %x",CurrentMemoryContext);*/
|
||||
/* elog(DEBUG1,"ReAlloc in CMC %p",CurrentMemoryContext);*/
|
||||
return repalloc(ptr, size);
|
||||
}
|
||||
|
||||
static void
|
||||
pgxml_pfree(void *ptr)
|
||||
{
|
||||
/* elog(DEBUG1,"Free in CMC %x",CurrentMemoryContext); */
|
||||
/* elog(DEBUG1,"Free in CMC %p",CurrentMemoryContext); */
|
||||
pfree(ptr);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user