Re: invalidating cached plans

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: invalidating cached plans
Дата
Msg-id 6275.1110786816@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: invalidating cached plans  (Neil Conway <neilc@samurai.com>)
Ответы Re: invalidating cached plans  (Michael Adler <adler@pobox.com>)
Re: invalidating cached plans  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> Tom Lane wrote:
>> I would like to see this folded together with creation of a centralized
>> plan caching module.

> Interesting. Can you elaborate on how you'd envision call sites making 
> use of this module?

I hadn't really gotten as far as working out a reasonable API for the
module.  The $64 question seems to be what is the input: a textual query
string, a raw parse analysis tree, or what?  And what sort of key does
the caller want to use to re-find a previously cached plan?

Probably the first thing to do is look around at the plausible users of
this thing and see what they'd find most convenient.
        regards, tom lane


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

Предыдущее
От: Thomas Hallgren
Дата:
Сообщение: Re: int64/double for time/timestamp
Следующее
От: Tom Lane
Дата:
Сообщение: Re: options in conninfo