Re: pgbench - test whether a variable exists

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: pgbench - test whether a variable exists
Дата
Msg-id alpine.DEB.2.20.1803241021190.13537@lancre
обсуждение исходный текст
Ответ на pgbench - test whether a variable exists  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: pgbench - test whether a variable exists  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
> While investigating moving pgbench expressions to fe_utils so that they can 
> be shared with psql (\if ..., \let ?), I figure out that psql's \if has a 
> syntax to test whether a variable exists, which is not yet available to 
> pgbench.
>
> This patch adds the same syntax to pgbench expression so that they can 
> represent this expression, already accepted by psql's \if.
>
> Note that it is not really that useful for benchmarking, although it does not 
> harm.

Patch v2 is a rebase.

-- 
Fabien.
Вложения

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench randomness initialization
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [HACKERS] pgbench - allow to store select results intovariables