Re: New Object Access Type hooks

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: New Object Access Type hooks
Дата
Msg-id fdba7277-722b-a4ce-8027-88e4fc6ef0f8@dunslane.net
обсуждение исходный текст
Ответ на Re: New Object Access Type hooks  (Mark Dilger <mark.dilger@enterprisedb.com>)
Ответы Re: New Object Access Type hooks  (Mark Dilger <mark.dilger@enterprisedb.com>)
Список pgsql-hackers
On 3/21/22 15:57, Mark Dilger wrote:
>> On Mar 18, 2022, at 3:04 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>>
>> I haven't looked at it in detail, but regarding the test code I'm not
>> sure why there's a .control file, since this isn't a loadable extension,
>> not why there's a test_oat_hooks.h file.
> The .control file exists because the test defines a loadable module which defines the hooks. 



To the best of my knowledge .control files are only used by extensions,
not by other modules. They are only referenced in
src/backend/commands/extension.c in the backend code. For example,
auto_explain which is a loadable module but not en extension does not
have one, and I bet if you remove it you'll find this will work just fine.


cheers


andrew


-- 

Andrew Dunstan
EDB: https://www.enterprisedb.com




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

Предыдущее
От: Erik Rijkers
Дата:
Сообщение: Re: jsonpath syntax extensions
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Patch proposal - parameter to limit amount of FPW because of hint bits per second