Re: cpluspluscheck/headerscheck require build in REL_16_STABLE

From: Marina Polyakova <m(dot)polyakova(at)postgrespro(dot)ru>
To: John Naylor <johncnaylorls(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: cpluspluscheck/headerscheck require build in REL_16_STABLE
Date: 2024-04-15 14:20:00
Message-ID: db4607d98a3a62d7777071dd2b60e209@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2024-04-13 08:40, John Naylor wrote:
> On Fri, Apr 12, 2024 at 11:51 PM Marina Polyakova
> <m(dot)polyakova(at)postgrespro(dot)ru> wrote:
...
>> In the other branches everything is fine: these problems begin with
>> commits [2] (jsonpath_gram.h) and [3] (gram.h) and in the master
>> branch
>> there're no such problems after commit [4]. The attached diff.patch
>> fixes this issue for me. (IIUC internal headers generated by Bison are
>> usually excluded from such checks so I also excluded gramparse.h and
>> jsonpath_internal.h...)
>
> I'm not in favor of this patch because these files build fine on
> master, so there is no good reason to exclude them. We should arrange
> so that they build fine on PG16 as well. The problem is, not all the
> required headers are generated when invoking `make headerscheck`. The
> attached patch brings in some Makefile rules from master to make this
> work. Does this fix it for you?

Everything seems to work with this patch, thank you!

--
Marina Polyakova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2024-04-15 14:30:57 Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Previous Message Bertrand Drouvot 2024-04-15 14:17:03 Re: promotion related handling in pg_sync_replication_slots()