Обсуждение: ExecSetupTransitionCaptureState not declared in nodeModifyTable.c

Поиск
Список
Период
Сортировка

ExecSetupTransitionCaptureState not declared in nodeModifyTable.c

От
jian he
Дата:
hi.

static void
ExecSetupTransitionCaptureState(ModifyTableState *mtstate, EState *estate);

not declared in src/backend/executor/nodeModifyTable.c.
do we need to add the declaration?



Re: ExecSetupTransitionCaptureState not declared in nodeModifyTable.c

От
Tom Lane
Дата:
jian he <jian.universality@gmail.com> writes:
> static void
> ExecSetupTransitionCaptureState(ModifyTableState *mtstate, EState *estate);

> not declared in src/backend/executor/nodeModifyTable.c.
> do we need to add the declaration?

Not if the compiler's not complaining about it.  We don't have a
policy requiring all static functions to be forward-declared.

            regards, tom lane