Re: proof concept: do statement parametrization

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: proof concept: do statement parametrization
Дата
Msg-id 4C30AB07.6000904@dunslane.net
обсуждение исходный текст
Ответ на Re: proof concept: do statement parametrization  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proof concept: do statement parametrization  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: proof concept: do statement parametrization  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: proof concept: do statement parametrization  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers

Pavel Stehule wrote:
>> BTW, we intentionally didn't put any provision for parameters into DO
>> originally.  What's changed to alter that decision?
>>
>>     
>
> It just concept - nothing more. And my instinct speak so inline code
> block without external parametrization is useless.
>
>
>   

You have said this before, IIRC, but frankly your instinct is just 
wrong. It is no more useless than are parameter-less functions, and I 
use those frequently. I used a DO block for some useful testing just the 
other day.

This whole proposal strikes me as premature. What we need is some 
experience from the field in using DO before we can sensibly decide how 
it should be extended. And we won't get that until 9.0 has been released 
and used for a while.

cheers

andrew


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proof concept: do statement parametrization
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: proof concept: do statement parametrization