Re: Proposal: USING clause for DO statement

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Proposal: USING clause for DO statement
Дата
Msg-id b42b73150911211035g37c77799o5b774dc85aa42342@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposal: USING clause for DO statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Proposal: USING clause for DO statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Sat, Nov 21, 2009 at 1:24 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> 2009/11/21 Merlin Moncure <mmoncure@gmail.com>:
>> On Sat, Nov 21, 2009 at 12:36 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>>>> 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.
> I am not sure, if I understand well. Can you show some use cases, please?

If I understand Andrew correctly,

\set msg world

DO $$
BEGINRAISE NOTICE 'Hello, %', :msg;
END
$$;


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

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