cube problem

Поиск
Список
Период
Сортировка
От ABHANG RANE
Тема cube problem
Дата
Msg-id 20070607204812.ms0e8z0pq8wso4k0@webmail.iu.edu
обсуждение исходный текст
Ответы Re: cube problem
Список pgsql-general
Hi,
I have a table with one column as real[]. Now if I want to make cubes
out of each of
these arrays, is there a way in postgre I can do it. I guess cube
operator is not defined
for real[] but can I create cubes if the column was integer[]. If yes
please may I know
how.

Actually I would pass an real[] array to a function. I want to create a
cube out of this
so that, somehow I can calculate the distance between this cube and
each row in the table
which has a column of real[]. So I would have to create a cube for each
row in the table.
I can write a function which accepts array and calculate such distance
in C but thats too
slow since there are 10 million rows.

Thanks
Abhang


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

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: Creditcard Number Security was Re: Encrypted column
Следующее
От: "George Pavlov"
Дата:
Сообщение: Re: query log corrupted-looking entries