From: ganuri@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14265: inserting multiple rows via array notation gives error
Date: Wed, 27 Jul 2016 00:57:25 +0000
Message-ID: <20160727005725.7438.26021@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14265
Logged by: Nuri Boardman
Email address: ganuri@gmail.com
PostgreSQL version: 9.4.5
Operating system: Windows 7 - 64
Description:
given a table:
create table test ( testarray int[]);
this completes as i would expect
insert into test (testarray[1], testarray[2]) values (1,2)
this gives an error
insert into test (testarray[1], testarray[2]) values (1,2),(3,4)
ERROR: multiple assignments to same column "testarray"
I'm not sure if this is supported or not, as i didn't see any documentation
about it.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: ganuri@gmail.com
Subject: Re: BUG #14265: inserting multiple rows via array notation gives error
In-Reply-To: <20160727005725.7438.26021@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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