Re: late binding of shared libs for C functions

Поиск
Список
Период
Сортировка
От Darafei "Komяpa" Praliaskouski
Тема Re: late binding of shared libs for C functions
Дата
Msg-id CAC8Q8tJ-WDdHRhniTFABZJmKX_+m+ADVEDQtgCW2qGAi9JX=sQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: late binding of shared libs for C functions  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
 >> The real question is why check_function_bodies doesn't cover this;
 >> there's a comment in fmgr_c_validator that this is deliberate, but it's
 >> rather unclear what the advantage is supposed to be:

 Tom> Error detection, ie did you spell the C symbol name correctly.

Right, but surely restoring a dump is not the place to be doing that
error check?


Similar check also happens on pg_upgrade in link mode. It would be more useful to get it to attempt to upgrade the extension if there is absent function or absent library error.

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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: late binding of shared libs for C functions
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: pg_config.h.win32 missing a set of flags from pg_config.h.inadded in v11 development