pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedMissing RETURNS clause in function declaration
2+ messages / 2 participants
[nested] [flat]
* Missing RETURNS clause in function declaration
@ 2017-06-19 13:20 ivan.ciobotar@gmail.com
2017-06-19 16:01 ` Re: Missing RETURNS clause in function declaration Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: ivan.ciobotar@gmail.com @ 2017-06-19 13:20 UTC (permalink / raw)
To: pgsql-docs
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Missing RETURNS clause in function declaration
2017-06-19 13:20 Missing RETURNS clause in function declaration ivan.ciobotar@gmail.com
@ 2017-06-19 16:01 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2017-06-19 16:01 UTC (permalink / raw)
To: ivan.ciobotar@gmail.com; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-06-19 16:01 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-06-19 13:20 Missing RETURNS clause in function declaration ivan.ciobotar@gmail.com
2017-06-19 16:01 ` Tom Lane <tgl@sss.pgh.pa.us>
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