Re: late binding of shared libs for C functions

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: late binding of shared libs for C functions
Дата
Msg-id 87fu1stbqw.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: late binding of shared libs for C functions  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Ответы Re: late binding of shared libs for C functions  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Re: late binding of shared libs for C functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>>>>> "Andrew" == Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:

 Andrew> Perhaps something like NO CHECK would meet the case, i.e. we're
 Andrew> not checking the link at function creation time.

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:

 * It'd be most consistent to skip the check if !check_function_bodies,
 * but the purpose of that switch is to be helpful for pg_dump loading,
 * and for pg_dump loading it's much better if we *do* check.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: late binding of shared libs for C functions
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: late binding of shared libs for C functions