Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMz7y-0002MD-1Q for pgsql-docs@arkaria.postgresql.org; Mon, 19 Jun 2017 16:02:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dMz7x-0006kC-HK for pgsql-docs@arkaria.postgresql.org; Mon, 19 Jun 2017 16:02:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dMz7a-00064F-Q4 for pgsql-docs@postgresql.org; Mon, 19 Jun 2017 16:01:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dMz7Y-0006GM-C4 for pgsql-docs@postgresql.org; Mon, 19 Jun 2017 16:01:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v5JG1gix000862; Mon, 19 Jun 2017 12:01:42 -0400 From: Tom Lane To: ivan.ciobotar@gmail.com cc: pgsql-docs@postgresql.org Subject: Re: Missing RETURNS clause in function declaration In-reply-to: <20170619132036.1543.91171@wrigleys.postgresql.org> References: <20170619132036.1543.91171@wrigleys.postgresql.org> Comments: In-reply-to ivan.ciobotar@gmail.com message dated "Mon, 19 Jun 2017 13:20:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <860.1497888102.1@sss.pgh.pa.us> Date: Mon, 19 Jun 2017 12:01:42 -0400 Message-ID: <861.1497888102@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org 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