X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D0180D1DA5F for ; Fri, 13 Feb 2004 10:25:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 24681-04 for ; Fri, 13 Feb 2004 06:25:32 -0400 (AST) Received: from mx5.kent.ac.uk (mx5.ukc.ac.uk [129.12.21.36]) by svr1.postgresql.org (Postfix) with ESMTP id 74F62D1D8AA for ; Fri, 13 Feb 2004 06:25:29 -0400 (AST) Received: from pelican.ukc.ac.uk ([129.12.200.26]) by mx5.kent.ac.uk with esmtp (Exim 4.24) id 1AraVT-0002AU-9Q for pgsql-sql@postgresql.org; Fri, 13 Feb 2004 10:25:11 +0000 Received: from dhcp652d.ukc.ac.uk ([129.12.101.45] helo=PCCT1P14) by pelican.ukc.ac.uk with smtp (Exim 4.22) id 1AraVS-00045X-G7 for pgsql-sql@postgresql.org; Fri, 13 Feb 2004 10:25:10 +0000 Message-ID: <001e01c3f21b$a8c0eb00$2d650c81@ad.kent.ac.uk> From: "David" To: Subject: arrays and polygons Date: Fri, 13 Feb 2004 10:25:10 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-UKC-Mail-System: No virus detected X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/143 X-Sequence-Number: 16834 Hi there i am having problems inserting an array of polygons into a table, i have added the column using: ALTER TABLE species ADD COLUMN location polygon[]; this works fine, but when i try INSERT INTO species (location) VALUES ('{((432,89), (45,87), (89,87)), ((54,78), (34,98))}; I get the following error message: ERROR: Bad polygon external representation '((432' Where am i going wrong, all help is much appreciated DAvid