Re: Coccinelle for PostgreSQL development [2/N]: autoconf support [RESEND]

2025-01-07 Thread Mats Kindahl
On Tue, Jan 7, 2025 at 8:56 PM Daniel Gustafsson wrote: > On 7 Jan 2025, at 20:54, Mats Kindahl wrote: > > On Tue, Jan 7, 2025 at 8:51 PM Daniel Gustafsson wrote: > >> > On 7 Jan 2025, at 20:47, Mats Kindahl wrote: >> >> > This second patch adds support for coccicheck >> >> Forgive me if I'm d

Re: Coccinelle for PostgreSQL development [2/N]: autoconf support [RESEND]

2025-01-07 Thread Daniel Gustafsson
> On 7 Jan 2025, at 20:54, Mats Kindahl wrote: > > On Tue, Jan 7, 2025 at 8:51 PM Daniel Gustafsson > wrote: >> > On 7 Jan 2025, at 20:47, Mats Kindahl > > > wrote: >> >> > This second patch adds support for coccicheck >> >> Forgive me if I'm

Re: Coccinelle for PostgreSQL development [2/N]: autoconf support [RESEND]

2025-01-07 Thread Mats Kindahl
On Tue, Jan 7, 2025 at 8:51 PM Daniel Gustafsson wrote: > > On 7 Jan 2025, at 20:47, Mats Kindahl wrote: > > > This second patch adds support for coccicheck > > Forgive me if I'm daft, but I feel there is a slight lack of context here. > What is coccicheck, what would it do and why would it bene

Re: Coccinelle for PostgreSQL development [2/N]: autoconf support [RESEND]

2025-01-07 Thread Daniel Gustafsson
> On 7 Jan 2025, at 20:47, Mats Kindahl wrote: > This second patch adds support for coccicheck Forgive me if I'm daft, but I feel there is a slight lack of context here. What is coccicheck, what would it do and why would it benefit us to have it? -- Daniel Gustafsson

Coccinelle for PostgreSQL development [2/N]: autoconf support [RESEND]

2025-01-07 Thread Mats Kindahl
Missed the patch in the previous mail. Please ignore. This second patch adds support for coccicheck to configure.ac and related files (in particular Makefile.global.in). At this point, I have deliberately not added support for pgxs so extensions cannot use coccicheck through the PostgreSQL install

Coccinelle for PostgreSQL development [2/N]: autoconf support

2025-01-07 Thread Mats Kindahl
This second patch adds support for coccicheck to configure.ac and related files (in particular Makefile.global.in). At this point, I have deliberately not added support for pgxs so extensions cannot use coccicheck through the PostgreSQL installation. The semantic patches are expected to live in co