Re: add queryEnv to ExplainOneQuery_hook

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: add queryEnv to ExplainOneQuery_hook
Дата
Msg-id CAEepm=30YnLtx6zDEbw=2xbTZbzt1_x-Hi4pc3m9k6kUS12PzA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: add queryEnv to ExplainOneQuery_hook  (Jim Finnerty <jfinnert@amazon.com>)
Ответы Re: add queryEnv to ExplainOneQuery_hook
Список pgsql-hackers
On Wed, Mar 14, 2018 at 2:57 PM, Jim Finnerty <jfinnert@amazon.com> wrote:
> Passing NULL in place of queryEnv in PG10 causes a failure in installcheck
> tests portals and plpgsql.
>
> For PG10, if you want a both an ExplainOneQuery hook and clean run of
> installcheck, is there a better workaround than to (a) pass NULL in place of
> queryEnv, and (b) to comment out the portals and plpgsql tests?

Hi Jim,

I can't think of a good way right now.  It's unfortunate that we
couldn't back-patch 4d41b2e0 because 10 was out the door; but perhaps
you can?

Hmm.  I suppose we could have invented a new extended hook with a
different name and back-patched it so that PG10 would support both.
Then binary compatibility with existing compiled extensions wouldn't
be affected AFAICS, but you could use the new extended hook in (say)
10.4 or higher.  Then for PG11 (or later) we could remove the old hook
and just keep the new one.  I suppose that option is still technically
open to us, though I'm not sure of the committers' appetite for messing
with back branches like that.

-- 
Thomas Munro
http://www.enterprisedb.com


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

Предыдущее
От: Pavan Deolasee
Дата:
Сообщение: Re: Faster inserts with mostly-monotonically increasing values
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] GUC for cleanup indexes threshold.