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
Ответ на
Список
Дерево обсуждения
PLpgSQL: list of scalars as row for assign stmt, fore and fors stms "Pavel Stehule" <pavel.stehule@hotmail.com>
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 stms "Andrew Dunstan" <andrew@dunslane.net>
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 Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: PLpgSQL: list of scalars as row for assign stmt, fore David Fetter <david@fetter.org>
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 Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: PLpgSQL: list of scalars as row for assign stmt, fore and fors stm 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 and fors stm "Pavel Stehule" <pavel.stehule@hotmail.com>
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
Дата:
От: Tom Lane
Дата: