Re: HEAPDEBUGALL is broken - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: HEAPDEBUGALL is broken
Date
Msg-id cffb7d94-e7f4-6d45-bd0b-7cca9e2796fb@2ndquadrant.com
Whole thread Raw
In response to Re: HEAPDEBUGALL is broken  (Alexander Lakhin <exclusion@gmail.com>)
Responses Re: HEAPDEBUGALL is broken
List pgsql-hackers
On 2020-04-19 22:00, Alexander Lakhin wrote:
> To the point, I've tried to use HAVE_ALLOCINFO on master today and it 
> failed too:
> $ CPPFLAGS="-DHAVE_ALLOCINFO" ./configure --enable-tap-tests 
> --enable-debug --enable-cassert  >/dev/null && make -j16 >/dev/null
> generation.c: In function ‘GenerationAlloc’:
> generation.c:191:11: error: ‘GenerationContext {aka struct 
> GenerationContext}’ has no member named ‘name’
>       (_cxt)->name, (_chunk), (_chunk)->size)
>             ^
> generation.c:386:3: note: in expansion of macro ‘GenerationAllocInfo’
>     GenerationAllocInfo(set, chunk);
>     ^~~~~~~~~~~~~~~~~~~
> generation.c:191:11: error: ‘GenerationContext {aka struct 
> GenerationContext}’ has no member named ‘name’
>       (_cxt)->name, (_chunk), (_chunk)->size)
>             ^
> generation.c:463:2: note: in expansion of macro ‘GenerationAllocInfo’
>    GenerationAllocInfo(set, chunk);
>    ^~~~~~~~~~~~~~~~~~~

Do you have a proposed patch?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: design for parallel backup
Next
From: Peter Eisentraut
Date:
Subject: Re: HEAPDEBUGALL is broken