Re: Fixing cache pollution in the Kerberos test suite

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fixing cache pollution in the Kerberos test suite
Дата
Msg-id 1895343.1611601474@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fixing cache pollution in the Kerberos test suite  (Jacob Champion <pchampion@vmware.com>)
Ответы Re: Fixing cache pollution in the Kerberos test suite  (Jacob Champion <pchampion@vmware.com>)
Re: Fixing cache pollution in the Kerberos test suite  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Jacob Champion <pchampion@vmware.com> writes:
> On Mon, 2021-01-25 at 13:49 -0500, Tom Lane wrote:
>> Yeah, changing global state is just awful.  However, I don't
>> actually see any change here (RHEL8):

> Interesting. I'm running Ubuntu 20.04:

Hmm.  I'll poke harder.

>> Also, why are you only setting the ENV variable within narrow parts
>> of the test script?  I'd be inclined to enforce it throughout.

> I considered it and decided I didn't want to pollute the server's
> environment with it, since the server shouldn't need the client cache.

True, but if it did try to access the cache, accessing the user's
normal cache would be strictly worse than accessing the test cache.

            regards, tom lane



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

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: Fixing cache pollution in the Kerberos test suite
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit