Re: PL/pgSQL nested CALL with transactions

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: PL/pgSQL nested CALL with transactions
Дата
Msg-id CAFj8pRBr7VY-TkV-xgCf7vRuEaO7mgSKhR7G31MQ0c+T-x1eVw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PL/pgSQL nested CALL with transactions  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: PL/pgSQL nested CALL with transactions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


2018-03-16 18:35 GMT+01:00 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>:
On 3/16/18 00:24, Pavel Stehule wrote:
> What is benefit of DO command in PLpgSQL? Looks bizarre for me.

Not very typical, but we apply the same execution context handling to
CALL and DO at the top level, so it would be weird not to propagate that.

Although it is possible, I don't see any sense of introduction for DO into plpgsql. Looks like duplicate to EXECUTE.

 

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

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: PL/pgSQL nested CALL with transactions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgSQL nested CALL with transactions