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