Re: RETURNS TABLE function: ERROR: column reference "word" is ambiguous

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: RETURNS TABLE function: ERROR: column reference "word" is ambiguous
Date: 2016-08-10 13:44:05
Message-ID: CAKFQuwbsMjrJuZR1Mn1jf6JSmiy=MBUYig3eJ9gr_d9Eqn5tdA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.​

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2016-08-10 13:44:49 Re: RETURNS TABLE function: ERROR: column reference "word" is ambiguous
Previous Message Pavel Stehule 2016-08-10 13:42:29 Re: RETURNS TABLE function: ERROR: column reference "word" is ambiguous