Re: Arrays

Поиск
Список
Период
Сортировка
От Bob Pawley
Тема Re: Arrays
Дата
Msg-id 013801c622b4$16cc6730$ac1d4318@owner
обсуждение исходный текст
Ответ на Arrays  (Bob Pawley <rjpawley@shaw.ca>)
Ответы Re: Arrays  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Arrays  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
ERROR:  malformed array literal: "{100, 250, 500, DegF)"

I want to do single dimension arrays.

How did I turn it into multidmensional?

Bob
----- Original Message -----
From: "Stephan Szabo" <sszabo@megazone.bigpanda.com>
To: "Bob Pawley" <rjpawley@shaw.ca>
Cc: "Tom Lane" <tgl@sss.pgh.pa.us>; "Postgresql"
<pgsql-general@postgresql.org>
Sent: Thursday, January 26, 2006 11:43 AM
Subject: Re: [GENERAL] Arrays


> On Thu, 26 Jan 2006, Bob Pawley wrote:
>
>> Because it gives me an error otherwise.
>
> What error?
>
> insert into specifications values ('1', '{25, 50, 100, gpm}',
> '{100, 250, 500, DegF}',
> '{10, 40, 100, psi}', '{60, 120, 150, psi}' );
>
> seems to insert fine for me given the table definition you gave.
>
>> I am following the rules layed out in the documentation as follows -
>
> Are you trying to do multidimensional arrays or just a set of single
> dimensional ones?


В списке pgsql-general по дате отправления:

Предыдущее
От: Bob Pawley
Дата:
Сообщение: Re: Arrays
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Arrays