public inbox for [email protected]  
help / color / mirror / Atom feed
From: Eugen Konkov <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected]
Subject: Re: The document contains false statements
Date: Tue, 16 Sep 2025 16:55:58 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>

Hello Tom,

Saturday, September 13, 2025, 7:25:08 PM, you wrote:

> PG Doc comments form <[email protected]> writes:
>> The following documentation comment has been logged on the website:
>> Page: https://www.postgresql.org/docs/17/sql-createfunction.html
>> Description:

>>> This is effectively another way of declaring a named OUT parameter

>> Actually OUT works twice slower in compare to RETURNS TABLE

> You stopped reading halfway through that sentence... it says

>     This is effectively another way of declaring a named OUT parameter,
>     except that RETURNS TABLE also implies RETURNS SETOF.

> The difference between a set-returning and not-set-returning
> function might explain what you're seeing, particularly because
> the rules for inlining SQL functions are different in the two
> cases.

> A documentation comment is not the place to pursue this further,
> but you could ask for help on our pgsql-performance mailing list.

>                         regards, tom lane

Let me continue how to improve this in David G. thread.

-- 
Best regards,
Eugen Konkov






reply

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: The document contains false statements
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox