pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alexander Lakhin <exclusion@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: HEAPDEBUGALL is broken
Date: Tue, 21 Apr 2020 20:01:53 +0200
Message-ID: <cffb7d94-e7f4-6d45-bd0b-7cca9e2796fb@2ndquadrant.com> (raw)
In-Reply-To: <3070eb7d-e06d-31a0-5b68-4ae088fd146c@gmail.com>
References: <645c0646-4218-d4c3-409a-a7003a0c108d@2ndquadrant.com>
	<3070eb7d-e06d-31a0-5b68-4ae088fd146c@gmail.com>

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





view thread (14+ messages)  latest in thread

Message-ID: <cffb7d94-e7f4-6d45-bd0b-7cca9e2796fb@2ndquadrant.com>
Permalink:  ../cffb7d94-e7f4-6d45-bd0b-7cca9e2796fb@2ndquadrant.com/
Also on:    postgresql.org/message-id/cffb7d94-e7f4-6d45-bd0b-7cca9e2796fb@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, exclusion@gmail.com
  Subject: Re: HEAPDEBUGALL is broken
  In-Reply-To: <cffb7d94-e7f4-6d45-bd0b-7cca9e2796fb@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox