Remove unused header file in pqcomm.c

Поиск
Список
Период
Сортировка
От Japin Li
Тема Remove unused header file in pqcomm.c
Дата
Msg-id ME0P300MB04458874441B6CC8D0B34C80B6CD2@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
обсуждение исходный текст
Список pgsql-hackers
Hi, all

When I read the code of pqcomm.c, I find we don't use anything from <pool.h>
after commit cba5b994c99.  Maybe we should remove the include instruction.

diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c
index e5171467de1..744699ec35a 100644
--- a/src/backend/libpq/pqcomm.c
+++ b/src/backend/libpq/pqcomm.c
@@ -53,9 +53,6 @@
  */
 #include "postgres.h"
 
-#ifdef HAVE_POLL_H
-#include <poll.h>
-#endif
 #include <signal.h>
 #include <fcntl.h>
 #include <grp.h>


-- 
Regrads,
Japin Li



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