Re: unnecessary #include "pg_getopt.h"? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: unnecessary #include "pg_getopt.h"?
Date
Msg-id ZG1hZgP6YPEKy/E6@paquier.xyz
Whole thread Raw
In response to unnecessary #include "pg_getopt.h"?  (torikoshia <torikoshia@oss.nttdata.com>)
Responses Re: unnecessary #include "pg_getopt.h"?
List pgsql-hackers
On Mon, May 22, 2023 at 06:48:37PM +0900, torikoshia wrote:
> While working on [1], I thought there seems to be unnecessary #include
> "pg_getopt.h".
> getopt_long.h has already included pg_getopt.h, but some files include both
> getopt.h and getopt_long.h.

Right, these could be removed.  I am not seeing other places in the
tree that include both.  That's always nice to clean up.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Handle SIGTERM in fe_utils/cancel.c
Next
From: Michael Paquier
Date:
Subject: Re: Allow pg_archivecleanup to remove backup history files