Re: unnecessary #include "pg_getopt.h"?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: unnecessary #include "pg_getopt.h"?
Дата
Msg-id ZG1hZgP6YPEKy/E6@paquier.xyz
обсуждение исходный текст
Ответ на unnecessary #include "pg_getopt.h"?  (torikoshia <torikoshia@oss.nttdata.com>)
Ответы Re: unnecessary #include "pg_getopt.h"?  (Andres Freund <andres@anarazel.de>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Handle SIGTERM in fe_utils/cancel.c
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Allow pg_archivecleanup to remove backup history files