Re: postgres_fdw : altering foreign table not invalidating prepare statement execution plan.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres_fdw : altering foreign table not invalidating prepare statement execution plan.
Дата
Msg-id 9798.1459783414@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgres_fdw : altering foreign table not invalidating prepare statement execution plan.  (Amit Langote <amitlangote09@gmail.com>)
Ответы Re: postgres_fdw : altering foreign table not invalidating prepare statement execution plan.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Re: postgres_fdw : altering foreign table not invalidating prepare statement execution plan.  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-hackers
Amit Langote <amitlangote09@gmail.com> writes:
> On Mon, Apr 4, 2016 at 11:24 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> A related issue, now that I've seen this example, is that altering
>> FDW-level or server-level options won't cause a replan either.  I'm
>> not sure there's any very good fix for that.  Surely we don't want
>> to try to identify all tables belonging to the FDW or server and
>> issue relcache invals on all of them.

> Hm, some kind of PlanInvalItem-based solution could work maybe?

Hm, so we'd expect that whenever an FDW consulted the options while
making a plan, it'd have to record a plan dependency on them?  That
would be a clean fix maybe, but I'm worried that third-party FDWs
would fail to get the word about needing to do this.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PROPOSAL] Client Log Output Filtering
Следующее
От: Jesper Pedersen
Дата:
Сообщение: Re: Speed up Clog Access by increasing CLOG buffers