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 43A8AF4B.1090703@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stms  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Re: PLpgSQL: list of scalars as row for assign stmt, fore  (David Fetter <david@fetter.org>)
Список pgsql-patches
>>    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


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

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