Re: [DOCS] Missing RETURNS clause in function declaration - Mailing list pgsql-docs

From Tom Lane
Subject Re: [DOCS] Missing RETURNS clause in function declaration
Date
Msg-id 861.1497888102@sss.pgh.pa.us
Whole thread Raw
In response to [DOCS] Missing RETURNS clause in function declaration  (ivan.ciobotar@gmail.com)
List pgsql-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


pgsql-docs by date:

Previous
From: ivan.ciobotar@gmail.com
Date:
Subject: [DOCS] Missing RETURNS clause in function declaration
Next
From: gerardmatt@gmail.com
Date:
Subject: [DOCS] nothing ever works