Re: unnecessary #include "pg_getopt.h"?

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: unnecessary #include "pg_getopt.h"?
Date: 2023-05-24 00:59:18
Message-ID: ZG1hZgP6YPEKy/E6@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-05-24 01:26:03 Re: Allow pg_archivecleanup to remove backup history files
Previous Message Michael Paquier 2023-05-24 00:51:52 Re: Handle SIGTERM in fe_utils/cancel.c