Re: [SPAM] [GENERAL] ERROR: query returned no rows - Mailing list pgsql-general

From Alexander Farber
Subject Re: [SPAM] [GENERAL] ERROR: query returned no rows
Date
Msg-id CAADeyWhLrDAJ4ig6M0PYP+eD8sN9PiTZFaYXy3VR6obA5q+M+g@mail.gmail.com
Whole thread Raw
In response to Re: [SPAM] [GENERAL] ERROR: query returned no rows  (Moreno Andreo <moreno.andreo@evolu-s.it>)
List pgsql-general
On Mon, Jun 26, 2017 at 8:39 PM, Moreno Andreo <moreno.andreo@evolu-s.it> wrote:
Il 26/06/2017 20:21, Alexander Farber ha scritto:

                RETURNING
                        player1,
                        score2,
                        score1
                INTO
                        _opponent,
                        _score1,               -- the line 85
                        _score2;

Is it intentional to return score2 in score1 and vice versa?
 

Yes, Andreo, that one is intentional, but thank you.

In all my custom functions I return player1, played1, hand1 for the calling player (even if it is player2 in the words_games table)

Regards
Alex 

pgsql-general by date:

Previous
From: Moreno Andreo
Date:
Subject: Re: [SPAM] [GENERAL] ERROR: query returned no rows
Next
From: Alexander Farber
Date:
Subject: Re: [GENERAL] ERROR: query returned no rows