Re: HEAPDEBUGALL is broken

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: HEAPDEBUGALL is broken
Date: 2020-04-21 18:01:53
Message-ID: cffb7d94-e7f4-6d45-bd0b-7cca9e2796fb@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2020-04-21 18:11:26 Re: HEAPDEBUGALL is broken
Previous Message Robert Haas 2020-04-21 18:01:28 Re: design for parallel backup