public inbox for [email protected]  
help / color / mirror / Atom feed
From: Alvaro Herrera <[email protected]>
To: Guillaume Lelarge <[email protected]>
Cc: SAS <[email protected]>
Cc: [email protected]
Subject: Re: French translation mistake
Date: Thu, 22 Sep 2022 16:10:35 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAECtzeXu7Cr9xmVoZbqc1O9z1qa32tMZB9RP0MMM-06e-Zj=bA@mail.gmail.com>

On 2022-Sep-22, Guillaume Lelarge wrote:

> Le jeu. 22 sept. 2022 à 10:59, SAS <[email protected]> a écrit :

> > Reading xproc.html for PG14, in both french and english, I wonder if
> > french translation is totally accurate.
> >
> > The english version says :
> > Certain function attributes, such as strictness, don't apply to
> > procedures. Those attributes control how the function is used in a query,
> > which isn't relevant to procedures.

> I'd like to know this as well, so that I could fix it if need be.

Well, volatility and strictness are different things.  However, you
cannot set either of them for procedures, so while this is technically
not an accurate translation, in practice it makes no difference.

create procedure f (a int) language plpgsql strict as $$ begin raise notice 'called once'; end $$;
ERROR:  invalid attribute in procedure definition
LÍNEA 1: create procedure f (a int) language plpgsql strict as $$ beg...
                                                     ^


-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Right now the sectors on the hard disk run clockwise, but I heard a rumor that
you can squeeze 0.2% more throughput by running them counterclockwise.
It's worth the effort. Recommended."  (Gerry Pourwelle)





view thread (4+ messages)  latest in thread

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: French translation mistake
  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