Re: Ordering of header file inclusion

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Ordering of header file inclusion
Дата
Msg-id 5ef44524-371d-6036-8616-9f04df33c92b@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Ordering of header file inclusion  (vignesh C <vignesh21@gmail.com>)
Ответы Re: Ordering of header file inclusion  (Andres Freund <andres@anarazel.de>)
Re: Ordering of header file inclusion  (vignesh C <vignesh21@gmail.com>)
Список pgsql-hackers
diff --git a/contrib/bloom/blcost.c b/contrib/bloom/blcost.c
index f9fe57f..6224735 100644
--- a/contrib/bloom/blcost.c
+++ b/contrib/bloom/blcost.c
@@ -12,10 +12,10 @@
  */
 #include "postgres.h"

+#include "bloom.h"
 #include "fmgr.h"
 #include "utils/selfuncs.h"

-#include "bloom.h"

 /*
  * Estimate cost of bloom index scan.

This class of change I don't like.

The existing arrangement keeps "other" header files separate from the
header file of the module itself.  It seems useful to keep that separate.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pause recovery if pitr target not reached
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Backport "WITH ... AS MATERIALIZED" syntax to <12?