From: Tom Lane <tgl@sss.pgh.pa.us>
To: ivan.ciobotar@gmail.com
Cc: pgsql-docs@postgresql.org
Subject: Re: Missing RETURNS clause in function declaration
Date: Mon, 19 Jun 2017 12:01:42 -0400
Message-ID: <861.1497888102@sss.pgh.pa.us> (raw)
In-Reply-To: <20170619132036.1543.91171@wrigleys.postgresql.org>
References: <20170619132036.1543.91171@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>
ivan.ciobotar@gmail.com writes:
> On page https://www.postgresql.org/docs/9.6/static/plpgsql-porting.html, the
> statement starting with CREATE OR REPLACE FUNCTION cs_parse_url (towards the
> middle of the page) is missing the RETURNS clause.
That's fine --- the OUT parameters implicitly define the return type.
regards, tom lane
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
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: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, ivan.ciobotar@gmail.com
Subject: Re: Missing RETURNS clause in function declaration
In-Reply-To: <861.1497888102@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox