Re: further #include cleanup (IWYU)

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-10-20T09:37:36Z
Lists: pgsql-hackers
On 2024-Oct-20, Peter Eisentraut wrote:

> diff --git a/contrib/tablefunc/tablefunc.h b/contrib/tablefunc/tablefunc.h
> index 2009382ce7d..b78030044b5 100644
> --- a/contrib/tablefunc/tablefunc.h
> +++ b/contrib/tablefunc/tablefunc.h
> @@ -34,6 +34,4 @@
>  #ifndef TABLEFUNC_H
>  #define TABLEFUNC_H
>  
> -#include "fmgr.h"
> -
>  #endif							/* TABLEFUNC_H */

You could as well just delete this file.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



Commits

  1. Remove unused #include's from bin .c files

  2. Remove unused #include's from contrib, pl, test .c files

  3. Remove unused #include's from backend .c files

  4. Replace most usages of ntoh[ls] and hton[sl] with pg_bswap.h.