Re: PLpgSQL: list of scalars as row for assign stmt, fore

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: PLpgSQL: list of scalars as row for assign stmt, fore
Дата
Msg-id 43A8D55E.9040801@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Список pgsql-patches

Pavel Stehule wrote:
>>>>    x, y := r;
>>>
>>>
>>> That strikes me as a really bad idea.  It weakens both syntax and
>>> semantic error checking, to accomplish how much?
>>
>>
>> Could use PHP-style thingy:
>>
>> LIST(x, y) := r;
>>
>> Chris
>>
>
> It's inconsystency :-(.
>
> EXECUTE INTO and SELECT INTO use scalar of vectors without anything.

ROW(x, y) := r;

:)

Chris


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm