Desde la versión 9 de PostgreSQL, esto se hace simplemente usando cadena_agg :
SELECT
cmsdocument.internaldocid,
cmsdocument.documentid,
cmsdocument.versionid,
cmsdocversion.title,
string_agg(cmstag.tagname, ',')
FROM
public.cmsobjecttag,
public.cmstag,
public.cmsdocument,
public.cmsdocversion,
public.cmsuser
WHERE
cmsobjecttag.tagid = cmstag.tagid AND
cmsobjecttag.objectid = cmsdocument.internaldocid AND
cmsdocument.internaldocid = cmsdocversion.internaldocid AND
cmsdocument.userid = cmsuser.userid AND
cmsdocversion.state = 'published' AND
cmsobjecttag.objecttype = '102'
GROUP BY
cmsdocument.internaldocid,
cmsdocument.documentid,
cmsdocument.versionid,
cmsdocversion.title