ExecSetupTransitionCaptureState not declared in nodeModifyTable.c

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

ExecSetupTransitionCaptureState not declared in nodeModifyTable.c

От:
jian he <jian.universality@gmail.com>
Дата:
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 <tgl@sss.pgh.pa.us>
Дата:
jian he  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


FAQ