mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
Remove unused #include's from backend .c files
as determined by IWYU
These are mostly issues that are new since commit dbbca2cf29.
Discussion: https://www.postgresql.org/message-id/flat/0df1d5b1-8ca8-4f84-93be-121081bde049%40eisentraut.org
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
|
||||
#include "access/parallel.h"
|
||||
#include "libpq/pqformat.h"
|
||||
#include "port/atomics.h" /* for memory barriers */
|
||||
#include "utils/backend_progress.h"
|
||||
#include "utils/backend_status.h"
|
||||
|
||||
|
||||
@@ -16,11 +16,9 @@
|
||||
#include "miscadmin.h"
|
||||
#include "pg_trace.h"
|
||||
#include "pgstat.h"
|
||||
#include "port/atomics.h" /* for memory barriers */
|
||||
#include "storage/ipc.h"
|
||||
#include "storage/proc.h" /* for MyProc */
|
||||
#include "storage/procarray.h"
|
||||
#include "storage/sinvaladt.h"
|
||||
#include "utils/ascii.h"
|
||||
#include "utils/guc.h" /* for application_name */
|
||||
#include "utils/memutils.h"
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
#include "access/xlog.h"
|
||||
#include "lib/dshash.h"
|
||||
#include "pgstat.h"
|
||||
#include "port/atomics.h"
|
||||
#include "storage/fd.h"
|
||||
#include "storage/ipc.h"
|
||||
#include "storage/lwlock.h"
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "access/twophase_rmgr.h"
|
||||
#include "access/xact.h"
|
||||
#include "catalog/catalog.h"
|
||||
#include "postmaster/autovacuum.h"
|
||||
#include "utils/memutils.h"
|
||||
#include "utils/pgstat_internal.h"
|
||||
#include "utils/rel.h"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "port/pg_bitutils.h"
|
||||
#include "storage/lmgr.h" /* for GetLockNameFromTagType */
|
||||
#include "storage/lwlock.h" /* for GetLWLockIdentifier */
|
||||
#include "storage/spin.h"
|
||||
|
||||
Reference in New Issue
Block a user