Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtwXW-0006b9-Nq for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Sep 2017 13:56:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dtwXW-0008W5-AL for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Sep 2017 13:56:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dtwWm-000521-W4 for pgsql-bugs@postgresql.org; Mon, 18 Sep 2017 13:56:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dtwWj-0007Hs-Uk for pgsql-bugs@postgresql.org; Mon, 18 Sep 2017 13:56:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8IDts6d009976; Mon, 18 Sep 2017 09:55:55 -0400 From: Tom Lane To: e.delanoe@gea.fr cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14818: PLPGSQL: write access to a field of an array of records (well defined) In-reply-to: <20170918082435.8886.46152@wrigleys.postgresql.org> References: <20170918082435.8886.46152@wrigleys.postgresql.org> Comments: In-reply-to e.delanoe@gea.fr message dated "Mon, 18 Sep 2017 08:24:35 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9974.1505742954.1@sss.pgh.pa.us> Date: Mon, 18 Sep 2017 09:55:54 -0400 Message-ID: <9975.1505742954@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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