public inbox for [email protected]  
help / color / mirror / Atom feed
From: fn ln <[email protected]>
To: [email protected]
Subject: v11: RETURN syntax for procedure
Date: Wed, 10 Oct 2018 22:14:23 +0900
Message-ID: <CA+99BHqk-zAWA_qByg_P1TjQ8v5LCFQT4e7r5uke0eOQLe955g@mail.gmail.com> (raw)

Hello.

I've found this on the docs:
https://www.postgresql.org/docs/devel/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETU...
> If a RETURN statement is desired to exit the code early, then NULL must
be returned.

But isn't actual syntax just RETURN without an expression?


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: v11: RETURN syntax for procedure
  In-Reply-To: <CA+99BHqk-zAWA_qByg_P1TjQ8v5LCFQT4e7r5uke0eOQLe955g@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox