Re: [PATCH] postgres_fdw extension support

Поиск
Список
Период
Сортировка
От Paul Ramsey
Тема Re: [PATCH] postgres_fdw extension support
Дата
Msg-id etPan.55ae8c1f.19495cff.4a53@Butterfly.local
обсуждение исходный текст
Ответ на Re: [PATCH] postgres_fdw extension support  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] postgres_fdw extension support  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On July 21, 2015 at 11:07:36 AM, Tom Lane (tgl@sss.pgh.pa.us) wrote:
I'm inclined to think that it's not really necessary to worry about 
invalidating a per-connection cache of "is this function safe to ship" 
determinations.

So: yes to a local cache of all forwardable functions/ops, populated in full the first time through (does that speak maybe to using a binary search on a sorted list instead of a hash, since I only pay the sort price once and am not doing any insertions?). And then we just hold it until the connection goes away. 

Yes?

P.

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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: First Aggregate Funtion?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] postgres_fdw extension support