Re: strange construct with RETURN within plpgsql

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: mariusz <marius(at)mtvk(dot)pl>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: strange construct with RETURN within plpgsql
Date: 2018-02-16 12:40:38
Message-ID: CAKFQuwZ0iDTBbuhpScOvK4SjZRmFmxwk12ttjxqdxFPntMji5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 16, 2018 at 5:31 AM, mariusz <marius(at)mtvk(dot)pl> wrote:

> so, if there is a reason for such a construct and it does something i
> didn't notice, please let me know what is the purpose of keyword RETURN
> after a valid statement.
>


https://www.postgresql.org/docs/10/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2018-02-16 12:51:59 Re: strange construct with RETURN within plpgsql
Previous Message mariusz 2018-02-16 12:31:06 strange construct with RETURN within plpgsql