unnecessary #include "pg_getopt.h"?

From: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: unnecessary #include "pg_getopt.h"?
Date: 2023-05-22 09:48:37
Message-ID: e7eaf051b2a662c00c9804ed051e611a@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

[1]
https://www.postgresql.org/message-id/flat/d660ef741ce3d82f3b4283f1cafd576c(at)oss(dot)nttdata(dot)com
--
Regards,

--
Atsushi Torikoshi
NTT DATA CORPORATION

Attachment Content-Type Size
v1-0001-Remove-unnecessary-inlucde-pg_getopt.patch text/x-diff 2.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2023-05-22 10:20:31 RE: [PoC] pg_upgrade: allow to upgrade publisher node
Previous Message Heikki Linnakangas 2023-05-22 09:40:23 Re: ResourceOwner refactoring