pgsql: Do not rely on pgstat.h to indirectly include storage/ headers. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Do not rely on pgstat.h to indirectly include storage/ headers.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Do not rely on pgstat.h to indirectly include storage/ headers.

An upcoming patch might remove the (now indirect) proc.h
include (which in turn includes other headers), and it's cleaner for
the modified files to include their dependencies directly anyway...

Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1d9c5d0ce2dcac05850401cf266a9df10a68de49

Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c | 2 ++
src/backend/postmaster/pgarch.c                 | 2 ++
src/backend/postmaster/pgstat.c                 | 1 +
src/backend/replication/walreceiver.c           | 1 +
src/backend/storage/lmgr/lmgr.c                 | 1 +
src/backend/utils/adt/misc.c                    | 1 +
6 files changed, 8 insertions(+)


pgsql-committers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: pgsql: Add 'noError' argument to encoding conversion functions.
Next
From: Michael Paquier
Date:
Subject: pgsql: Refactor HMAC implementations