pgsql: Do not rely on pgstat.h to indirectly include storage/ headers.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Do not rely on pgstat.h to indirectly include storage/ headers.
Date: 2021-04-03 03:06:52
Message-ID: E1lSWce-0007JA-Me@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/20210402194458.2vu324hkk2djq6ce@alap3.anarazel.de

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-04-03 08:36:02 pgsql: Refactor HMAC implementations
Previous Message Michael Paquier 2021-04-03 02:53:27 Re: pgsql: Add 'noError' argument to encoding conversion functions.