[BUGS] BUG #14818: PLPGSQL: write access to a field of an array of records(well defined) - Mailing list pgsql-bugs

From e.delanoe@gea.fr
Subject [BUGS] BUG #14818: PLPGSQL: write access to a field of an array of records(well defined)
Date
Msg-id 20170918082435.8886.46152@wrigleys.postgresql.org
Whole thread Raw
Responses Re: [BUGS] BUG #14818: PLPGSQL: write access to a field of an array of records (well defined)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14818
Logged by:          Eric Delanoë
Email address:      e.delanoe@gea.fr
PostgreSQL version: 9.6.0
Operating system:   Windows server 2012 R2-64b + Windows 7-64b client
Description:

Hello,

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 ?


--
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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] Query planner skipping index depending on DISTINCT parameter order (2)
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14818: PLPGSQL: write access to a field of an array of records (well defined)