ERROR: syntax error at or near "," LINE 27: ...||CHR(39)||CHR(39) || REPLACE(r_rol.name, CHAR(39), ) || C...
^