pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #14818: PLPGSQL: write access to a field of an array of records (well defined)
2+ messages / 2 participants
[nested] [flat]
* BUG #14818: PLPGSQL: write access to a field of an array of records (well defined)
@ 2017-09-18 08:24 e.delanoe@gea.fr
2017-09-18 13:55 ` Re: BUG #14818: PLPGSQL: write access to a field of an array of records (well defined) Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: e.delanoe@gea.fr @ 2017-09-18 08:24 UTC (permalink / raw)
To: pgsql-bugs; +Cc: e.delanoe@gea.fr
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #14818: PLPGSQL: write access to a field of an array of records (well defined)
2017-09-18 08:24 BUG #14818: PLPGSQL: write access to a field of an array of records (well defined) e.delanoe@gea.fr
@ 2017-09-18 13:55 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2017-09-18 13:55 UTC (permalink / raw)
To: e.delanoe@gea.fr; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-09-18 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-09-18 08:24 BUG #14818: PLPGSQL: write access to a field of an array of records (well defined) e.delanoe@gea.fr
2017-09-18 13:55 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox