Re: pgsql: Move SQL-callable code related to multixacts into its own file - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Move SQL-callable code related to multixacts into its own file
Date
Msg-id rfewuot4kmvvb3zhuzxbbyj4z45susywiwd3s56axo66kggx3w@h2kaxj62ic36
Whole thread Raw
In response to Re: pgsql: Move SQL-callable code related to multixacts into its own file  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Responses Re: pgsql: Move SQL-callable code related to multixacts into its own file
Re: pgsql: Move SQL-callable code related to multixacts into its own file
List pgsql-committers
Hi,

On 2025-08-19 14:01:52 +0000, Bertrand Drouvot wrote:
> On Tue, Aug 19, 2025 at 12:31:14PM +0200, Álvaro Herrera wrote:
> > After these two changes, a lot of
> > files can stop including dbcommands.h.  This seems a nice cleanup to me,
> > and passes headerscheck.
> 
> meson does report:
> 
> ../src/test/modules/worker_spi/worker_spi.c: In function ‘worker_spi_launch’:
> ../src/test/modules/worker_spi/worker_spi.c:455:25: error: implicit declaration of function ‘get_database_oid’
[-Wimplicit-function-declaration]
>   455 |                 dboid = get_database_oid(worker_spi_database, false);
> 
> It looks like pg_database.h include is missing in worker_spi.c.
> 
> That said, autoconf does not report the issue, and that's because test/modules
> is missing in src/Makefile. Is there any reasons for that? If not, the attached
> fix it.

That can't be the reason - it's reached from src/test/Makefile

> SUBDIRS = perl postmaster regress isolation modules authentication recovery subscription


Greetings,

Andres Freund



pgsql-committers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: pgsql: Move SQL-callable code related to multixacts into its own file
Next
From: Bertrand Drouvot
Date:
Subject: Re: pgsql: Move SQL-callable code related to multixacts into its own file