Inserting into point[] type.

From: Theo Galanakis <Theo(dot)Galanakis(at)lonelyplanet(dot)com(dot)au>
To: PostgreSQL <pgsql-sql(at)postgresql(dot)org>
Subject: Inserting into point[] type.
Date: 2004-08-12 07:58:35
Message-ID: 82E30406384FFB44AFD1012BAB230B55037D0500@shiva.au.lpint.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


How do you insert into a column of type point[]

Sample table:
CREATE TABLE public.test
(
Column_a varchar(1000),
Column_b point[]
) WITHOUT OIDS;

I have tried without success:

insert into test (Column_a, Column_b) values
('Aargau','{47.3899993896,8.03400039673}')

Theo

______________________________________________________________________
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or
communicate to others content that is confidential or subject to
copyright, unless you have the consent of the content owner.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stef 2004-08-12 07:59:31 Maybe install debian on your home pc?
Previous Message Philippe Lang 2004-08-12 07:35:01 Re: function expression in FROM may not refer to other relations of same query level