David Eduardo Gomez Noguera <davidgn(at)servidor(dot)unam(dot)mx> writes:
> I wanted to make a query of name,birth date and phones, and have them
> grouped by name (so the name appeared only once) to get something like
You could probably do what you want with a custom aggregate. This is
discussed in the mail list archives, and I think there is an article
about it on techdocs.postgresql.org.
regards, tom lane