Re: Missing declaration of _PG_init()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Missing declaration of _PG_init()
Дата
Msg-id 284622.1610120638@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Missing declaration of _PG_init()  (Jack Orenstein <jao@geophile.com>)
Список pgsql-general
Jack Orenstein <jao@geophile.com> writes:
> Should _PG_init(void) be declared in someplace included by postgres.h or
> fmgr.h?

No, because it's something a given module might or might not provide.
Also, a global extern might give the impression that this was a global
function that the core code provides, rather than a per-module function.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to keep format of views source code as entered?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: How to keep format of views source code as entered?