mirror of
https://github.com/postgres/postgres.git
synced 2025-10-29 22:49:41 +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:
@@ -89,7 +89,6 @@
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "catalog/pg_tablespace.h"
|
||||
#include "miscadmin.h"
|
||||
#include "storage/fd.h"
|
||||
#include "storage/smgr.h"
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#include "storage/buf_internals.h"
|
||||
#include "storage/bufmgr.h"
|
||||
#include "storage/proc.h"
|
||||
|
||||
BufferDescPadded *BufferDescriptors;
|
||||
char *BufferBlocks;
|
||||
|
||||
@@ -93,7 +93,6 @@
|
||||
#include "common/pg_prng.h"
|
||||
#include "miscadmin.h"
|
||||
#include "pgstat.h"
|
||||
#include "portability/mem.h"
|
||||
#include "postmaster/startup.h"
|
||||
#include "storage/fd.h"
|
||||
#include "storage/ipc.h"
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "postmaster/autovacuum.h"
|
||||
#include "postmaster/bgworker_internals.h"
|
||||
#include "postmaster/bgwriter.h"
|
||||
#include "postmaster/postmaster.h"
|
||||
#include "postmaster/walsummarizer.h"
|
||||
#include "replication/logicallauncher.h"
|
||||
#include "replication/origin.h"
|
||||
@@ -50,7 +49,6 @@
|
||||
#include "storage/procarray.h"
|
||||
#include "storage/procsignal.h"
|
||||
#include "storage/sinvaladt.h"
|
||||
#include "storage/spin.h"
|
||||
#include "utils/guc.h"
|
||||
#include "utils/injection_point.h"
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "access/transam.h"
|
||||
#include "miscadmin.h"
|
||||
#include "storage/ipc.h"
|
||||
#include "storage/proc.h"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "storage/lmgr.h"
|
||||
#include "storage/proc.h"
|
||||
#include "storage/procarray.h"
|
||||
#include "storage/sinvaladt.h"
|
||||
#include "utils/inval.h"
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include "pg_trace.h"
|
||||
#include "storage/proc.h"
|
||||
#include "storage/procarray.h"
|
||||
#include "storage/sinvaladt.h"
|
||||
#include "storage/spin.h"
|
||||
#include "storage/standby.h"
|
||||
#include "utils/memutils.h"
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "common/pg_prng.h"
|
||||
#include "port/atomics.h"
|
||||
#include "storage/s_lock.h"
|
||||
#include "utils/wait_event.h"
|
||||
|
||||
|
||||
@@ -19,4 +19,4 @@
|
||||
* external programs can incorporate the checksum code by #include'ing
|
||||
* that file from the exported Postgres headers. (Compare our CRC code.)
|
||||
*/
|
||||
#include "storage/checksum_impl.h"
|
||||
#include "storage/checksum_impl.h" /* IWYU pragma: keep */
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
|
||||
#include "access/xloginsert.h"
|
||||
#include "access/xlogrecord.h"
|
||||
#include "storage/bufmgr.h"
|
||||
#include "storage/bufpage.h"
|
||||
#include "storage/bulk_write.h"
|
||||
#include "storage/proc.h"
|
||||
|
||||
Reference in New Issue
Block a user