X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 36DF314B2800 for ; Thu, 12 Aug 2004 05:27:53 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14195-08 for ; Thu, 12 Aug 2004 08:27:46 +0000 (GMT) Received: from web11.manitu.net (web11.manitu.net [217.11.48.111]) by svr1.postgresql.org (Postfix) with ESMTP id 6423E14B291C for ; Thu, 12 Aug 2004 05:27:44 -0300 (ADT) Received: from [62.165.4.166] (dicaprio.akademie1.de [62.165.4.166]) (authenticated) by web11.manitu.net (8.10.2-SOL3/8.10.2) with ESMTP id i7C8RSg25585; Thu, 12 Aug 2004 10:27:28 +0200 Subject: Re: Inserting into point[] type. From: Markus Bertheau To: Theo Galanakis Cc: PostgreSQL In-Reply-To: <82E30406384FFB44AFD1012BAB230B55037D0500@shiva.au.lpint.net> References: <82E30406384FFB44AFD1012BAB230B55037D0500@shiva.au.lpint.net> Content-Type: text/plain; charset=UTF-8 Message-Id: <1092299247.2620.1.camel@dicaprio.akademie1.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 12 Aug 2004 10:27:28 +0200 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/109 X-Sequence-Number: 18606 =D0=92 =D0=A7=D1=82=D0=B2, 12.08.2004, =D0=B2 09:58, Theo Galanakis =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: > How do you insert into a column of type point[]=20 > I have tried without success: >=20 > insert into test (Column_a, Column_b) values > ('Aargau','{47.3899993896,8.03400039673}') I'd guess '{(3.3, 4.4), (1.0, 4.3)}' or ARRAY[(3.3, 4.4), (1.0, 4.3)]. Maybe even something like '{''(3.3, 4.4)'', ''(1.0, 4.3)''}' --=20 Markus Bertheau