Re: Fix an error while building test_radixtree.c with TEST_SHARED_RT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix an error while building test_radixtree.c with TEST_SHARED_RT
Дата
Msg-id 3621151.1731977409@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix an error while building test_radixtree.c with TEST_SHARED_RT  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Fix an error while building test_radixtree.c with TEST_SHARED_RT
Список pgsql-hackers
Masahiko Sawada <sawada.mshk@gmail.com> writes:
> On Mon, Nov 18, 2024 at 3:41 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>> While we're at it, I noticed that lib/radixtree.h includes "postgres.h".
>> That's against our usual convention.

> Good catch. I've updated the patch accordingly.

Probably out of scope for this particular patch, but it occurred to me
to grep for other similar violations, and I found three:

src/bin/pg_combinebackup/copy_file.h:#include "c.h"
src/include/fe_utils/option_utils.h:#include "postgres_fe.h"
src/include/fe_utils/query_utils.h:#include "postgres_fe.h"

            regards, tom lane



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