Re: proposal: condition blocks in psql

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: proposal: condition blocks in psql
Дата
Msg-id 558FE49B.5070107@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: proposal: condition blocks in psql  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: proposal: condition blocks in psql
Список pgsql-hackers
Hi,

On 06/28/2015 09:04 AM, Fabien COELHO wrote:
>
>> 2. The general difficulty of getting psql var values into a DO
>> block (currently I use temp tables).
>
> Maybe this means that DO should be extended in some way to allow for
> parameters, at least when PL/pgSQL is used?

I agree with this wholeheartedly. ISTM most of this thread is about 
limitations of our current DO implementation, partially addressed by 
adding a bunch of scripting commands, specific to psql. I don't think 
that's the right solution.

regards

--
Tomas Vondra                   http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Support for N synchronous standby servers - take 2
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: condition blocks in psql