return an array as aggregate result? - Mailing list pgsql-general

From K. Ari Krupnikov
Subject return an array as aggregate result?
Date
Msg-id 3BF44334.3A24734C@cogsci.ed.ac.uk
Whole thread Raw
List pgsql-general
is there an aggregate function in postgres that returns an array?

something like

SELECT ARRAY (name) FROM TABLE WHERE LAST = 'smith';

      array
------------------
{{"sam"},{"mike"}}

pgsql-general by date:

Previous
From: satya pariki
Date:
Subject: ...
Next
From: SunMie Won
Date:
Subject: using CURSORS within a function