This question has probably been answered and I have found part of the solution here for Postgres.
I am running version 9.1 of Postgres and this is what I am trying to do.
I have a table:
 col1 |   col2    | col
------------------------
  1   | 1 jan 12  | Joe
  1   | 1 jan 12  | Bill
  1   | 1 jan 12  | Sue
  2   | 2 may 13  | Bob
  2   | 2 may 13  | Mary
I want:
 col1 |   col2    | col3
------------------------
  1   | 1 jan 12  | Joe, Bill, Sue
  2   | 2 may 13  | Bob, Mary
I am sure the solution is simple, I just have not been able to come up with it despite searching. I am guessing that array_agg is probably part of my solution.
 
     
    