Missing RETURNS clause in function declaration
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.6/static/plpgsql-porting.html
Description:
I'm (very) new to PostgreSQL, so please forgive me if my findings are
incorrect...
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.
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/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
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs