Re: pgsql: Add hooks for session start and session end

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pgsql: Add hooks for session start and session end
Дата
Msg-id 762a0864-a831-1009-c2c7-297695d1e3e4@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: pgsql: Add hooks for session start and session end  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add hooks for session start and session end  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Список pgsql-committers

On 11/15/2017 01:56 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> On 11/15/2017 11:50 AM, Tom Lane wrote:
>>> Andrew Dunstan <andrew@dunslane.net> writes:
>>>> Add hooks for session start and session end
>>> Buildfarm doesn't like this one bit :-(
>> Strange, it worked when I tested. I'll look into it.
> Looks to me like the problem is that the test can only work in "check"
> mode, not "installcheck" mode, because in the latter case you don't
> get to do preloaded libraries.
>
>             



Yeah, that was my first instinct. But then how do the test_rls_hooks
tests succeed? They too have a shared_preload_library.

cheers

andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add hooks for session start and session end
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Add hooks for session start and session end