pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: kcai@wyebot.com <kcai@wyebot.com>
Cc: pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>
Subject: Re: A typo?
Date: Sun, 07 Apr 2024 11:02:35 -0400
Message-ID: <2843228.1712502155@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwbK=KQ50Prh-j=K7gqULVsoHJuXW=8FOp4uYUSLgtAvCg@mail.gmail.com>
References: <171245737396.684.15990836655513105624@wrigleys.postgresql.org>
	<CAKFQuwbK=KQ50Prh-j=K7gqULVsoHJuXW=8FOp4uYUSLgtAvCg@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Saturday, April 6, 2024, PG Doc comments form <noreply@postgresql.org>
> wrote:
>> Under 43.3.1, "Notice that we omitted RETURNS real — we could have included
>> it, but it would be redundant."
>> Should that be "RETURNS tax" instead of "RETURNS real"?

> The docs are correct.

Specifically, that bit is a declaration of the data type of the
function's result, not a specification of how to compute it.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <2843228.1712502155@sss.pgh.pa.us>
Permalink:  ../2843228.1712502155@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2843228.1712502155@sss.pgh.pa.us

 · 

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: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, kcai@wyebot.com, pgsql-docs@lists.postgresql.org
  Subject: Re: A typo?
  In-Reply-To: <2843228.1712502155@sss.pgh.pa.us>

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

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