Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TPJ7s-0004c2-DU for pgsql-sql@postgresql.org; Fri, 19 Oct 2012 20:25:00 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TPJ7n-0003eN-SE for pgsql-sql@postgresql.org; Fri, 19 Oct 2012 20:25:00 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TPJ7k-0005C2-NN for pgsql-sql@postgresql.org; Fri, 19 Oct 2012 13:24:52 -0700 Date: Fri, 19 Oct 2012 13:24:52 -0700 (PDT) From: lmagnell To: pgsql-sql@postgresql.org Message-ID: <1350678292407-5729104.post@n5.nabble.com> Subject: Insert strings that contain colons into a table MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) X-Archive-Number: 201210/43 X-Sequence-Number: 36914 How can I insert multiple strings into a table where the strings contain colons. This case fails: INSERT INTO wwn (wwn_start,wwn_end) VALUES ('50:06:0B:00:00:C2:86:80','50:06:0B:00:00:C2:86:83'); ERROR: array value must start with "{" or dimension information at character 71 LINE 1: ..._start,wwn_end) VALUES ('50:06:0B:00:00:C2:86:80','50:06:0B:... But this case passes: INSERT INTO wwn (wwn_start) VALUES ('50:06:0B:00:00:C2:86:80'); Thank you, Lance -- View this message in context: http://postgresql.1045698.n5.nabble.com/Insert-strings-that-contain-colons-into-a-table-tp5729104.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com.