Re: Review: prepare plans of embedded sql on function start

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Review: prepare plans of embedded sql on function start
Дата
Msg-id 4E654771.5040309@dunslane.net
обсуждение исходный текст
Ответ на Review: prepare plans of embedded sql on function start  (Andy Colson <andy@squeakycode.net>)
Ответы Re: Review: prepare plans of embedded sql on function start
Список pgsql-hackers

On 09/05/2011 05:03 PM, Andy Colson wrote:
> Pavel, this patch:
>
> https://commitfest.postgresql.org/action/patch_view?id=624
>
> It applied clean and compiled ok, but I cannot get it to work at all.
>
> $ psql
> Timing is on.
> psql (9.2devel)
> Type "help" for help.
>
> andy=# set plpgsql.prepare_plans to on_start;
> ERROR:  unrecognized configuration parameter "plpgsql.prepare_plans"
>
>

Did you add plpgsql to custom_variable_classes? It looks like you might 
not have. (I'm not sure why plpgsql switch should require one, though, 
especially since we now load plpgsql by default. It might be better just 
to call it plpgsql_prepare_on_start.)

cheers

andrew



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] pg_upgrade problem
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_upgrade automatic testing