aggregate functions only for numbers?

Поиск
Список
Период
Сортировка
От David Eduardo Gomez Noguera
Тема aggregate functions only for numbers?
Дата
Msg-id 20020207224004.52db77a6.davidgn@servidor.unam.mx
обсуждение исходный текст
Ответы Re: aggregate functions only for numbers?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello
I was making a reay dumb database.
just to play.
Its an agenda. I set 2 tables thus far, one for people with unique attribs to each people (birth, address and the like)
andone for phones, since some people have more than one, or cell phones, etc.
 

I wanted to make a query of name,birth date and phones, and have them grouped by name (so the name appeared only once)
toget something like
 

somebody  |xxx-yyyy| mm-dd-yyyy         |xxx-yyyy|
somebody  |xxx-yyyy| mm-dd-yyyy
else      |        |

But i guess its not possible right now?
I did install the headers too, so i was just wondering if i could write an aggregate function to concatenate any type.
Inthe docs, its not listed, and there are only aggregate functions that opperate on numbers.
 

If you can point me as to where to start looking to do some coding server side on it, i would appreciate that.

-- 
ICQ: 15605359 Bicho                                 =^..^=
First, they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Gandhi.
........Por que no pensaran los hombres como los animales? Pink Panther........
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
アン アン アン とっても大好き



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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: Why dump/restore to upgrade?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: aggregate functions only for numbers?