Re: [BUGS] BUG #14818: PLPGSQL: write access to a field of an array of records (well defined)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14818: PLPGSQL: write access to a field of an array of records (well defined)
Дата
Msg-id 9975.1505742954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [BUGS] BUG #14818: PLPGSQL: write access to a field of an array of records(well defined)  (e.delanoe@gea.fr)
Список pgsql-bugs
e.delanoe@gea.fr writes:
> In a plpgsql function, I have defined this variable, an array of records
> using implicit record type from myTable:
>     myTableDataList myTable[];
>     -- myTable has a column "myCol integer"
> I cannot fill it explicitly using:
>     myTableDataList[1].myCol := 1;
> I get this error:
>     syntax error at or near "."

> Is this a bug ? A bug in this release ? A limitation ?

Nope, that's never been supported.  Sorry.
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: e.delanoe@gea.fr
Дата:
Сообщение: [BUGS] BUG #14818: PLPGSQL: write access to a field of an array of records(well defined)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [BUGS] BUG #14785: Logical replication does not work after addinga column. Bug?