Re: help with fmgr

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: help with fmgr
Дата
Msg-id 896510.1629131436@sss.pgh.pa.us
обсуждение исходный текст
Ответ на help with fmgr  (Luca Ferrari <fluca1978@gmail.com>)
Список pgsql-general
Luca Ferrari <fluca1978@gmail.com> writes:
> I've two main doubts:
> - is fmgr working for non PL functions? Because I cannot see messages
> starting when an internal function is invoked;

Built-in functions do not support fmgr_hook; see the order of tests
in fmgr_info_cxt_security().  I'd be loath to change that, for both
performance and risk-of-circularity reasons.

Note that built-in is not the same as internal --- you could potentially
make a new internal-language pg_proc entry pointing at some existing
built-in function, and then calls using that could get hooked.

            regards, tom lane



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

Предыдущее
От: Luca Ferrari
Дата:
Сообщение: help with fmgr
Следующее
От: Andy Hall
Дата:
Сообщение: Re: postgres disconnects on master after setting up replication