On Wed, Aug 10, 2016 at 9:39 AM, Alexander Farber <
alexander(dot)farber(at)gmail(dot)com> wrote:
>
> ERROR: query has no destination for result data
> HINT: If you want to discard the results of a SELECT, use PERFORM instead.
> CONTEXT: PL/pgSQL function words_check_words(integer,integer,jsonb) line
> 131 at SQL statement
>
> However I do not want to discard my results, but return them by my custom
> function...
>
>
https://www.postgresql.org/docs/devel/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING
David J.