Re: Proposal: USING clause for DO statement

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Proposal: USING clause for DO statement
Дата
Msg-id 4B080A0E.1030406@dunslane.net
обсуждение исходный текст
Ответ на Re: Proposal: USING clause for DO statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers

Pavel Stehule wrote:
> p.s. Maybe it is premature - We had to live with EXECUTE (without
> USING clause) twelve years. But an life should be comfortable. I don't
> would to wait twelve years :)
>   


I think you should take heed of Tom's words:

> I think adding onto DO capabilities is something we could do later
> if demand warrants.  I'd prefer to underdesign it for starters than
> to encrust it with features that might not be needed.

That doesn't mean waiting 12 years, but it does mean taking it a step at 
a time. This feature hasn't even had one release in the field yet.

Perhaps part of the problem is that psql can't interpolate its variable 
into strings. Solving that might lessen the impetus for this, and have 
other uses besides.

cheers

andrew






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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Proposal: USING clause for DO statement
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Proposal: USING clause for DO statement