"Eugene Dorofeyev" <edorofeyev(at)gmail(dot)com> writes:
> But it returns data as a set of rows like
> (10354,"EXCEPTION: ...")
> (4363,"Access Violation Exception.")
> Is there a way to get columns as in a view ?
Try "SELECT * FROM func(...)" rather than just "SELECT func(...)".
regards, tom lane