Re: late binding of shared libs for C functions

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: late binding of shared libs for C functions
Дата
Msg-id 20180612161152.ybxhf266gxqvmmdi@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: late binding of shared libs for C functions  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
On 2018-06-12 15:05:16 +0100, Andrew Gierth wrote:
> >>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
> 
>  > Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
>  >> 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?

I'm not convinced that that's true.  Checking that the target system has
the right shared library [version] installed isn't crazy, and you can't
do it at dump time.

If I wanted to do something about it - which I don't really - I'd argue
that check_function_bodies should become an enum or such.

Greetings,

Andres Freund


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

Предыдущее
От: Nico Williams
Дата:
Сообщение: Re: ON CONFLICT DO NOTHING on pg_dump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: why partition pruning doesn't work?