Re: [HACKERS] pgbench - allow to store select results into variables

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] pgbench - allow to store select results into variables
Дата
Msg-id 201901101900.mv7zduch6sad@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [HACKERS] pgbench - allow to store select results into variables  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] pgbench - allow to store select results into variables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2019-Jan-10, Tom Lane wrote:

> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> > Now let's see how the buildfarm likes this ...
> 
> This \cset thing seem like an incredibly badly thought out kluge.
> What is its excuse to live?

The reason is that you can set variables from several queries in one
network trip.

We can take it out I guess, but my impression was that we already pretty
much had a consensus that it was wanted. 

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] pgbench - allow to store select results into variables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] pgbench - allow to store select results into variables