public inbox for [email protected]
help / color / mirror / Atom feedFrom: Pavel Stehule <[email protected]>
To: Michael Nolan <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Declaring a field that is also an out parameter in a function
Date: Sun, 7 Jul 2024 16:42:07 +0200
Message-ID: <CAFj8pRCMpZ-pn8v_U316X=rKvPCg1nbe+_aKpj0qPUGy8fiqfw@mail.gmail.com> (raw)
In-Reply-To: <CAOzAquK=sA1_PRVB3unA9uyByvSjVH3QMhd2Pjkxk_845sSPFg@mail.gmail.com>
References: <CAOzAquKPXRWp38u9cURDCd4XzKCbKLhuZvH6AQjtXGW3R6-LoQ@mail.gmail.com>
<[email protected]>
<CAFj8pRBcwQ3CVGj7eDFezhG-dUtrsry3T9iHf0SmEnU=YXs-LQ@mail.gmail.com>
<CAFj8pRBZUNjmDXwByeSuE5H+vQGBDyn-AQg9-kRX4eKrAUqOCQ@mail.gmail.com>
<CAOzAquK=sA1_PRVB3unA9uyByvSjVH3QMhd2Pjkxk_845sSPFg@mail.gmail.com>
ne 7. 7. 2024 v 15:01 odesílatel Michael Nolan <[email protected]> napsal:
> On Sun, Jul 7, 2024 at 4:13 AM Pavel Stehule <[email protected]>
> wrote:
> >
> > but looks so there are false alarms related to using an alias. It is
> interesting so I have not any report about this issue, so probably using
> aliases is not too common today.
>
> I'm not sure why there's a warning about using an alias. 43.3.1 says
> to use them for improved readability.
>
it is obsolete - aliases were used when Postgres doesn't support named
arguments.
I don't know any good reason why one variable can use more than one name.
There can be an exception when argument names are very long, but generally
they are not used.
>
> Mike Nolan
>
view thread (5+ messages)
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: Declaring a field that is also an out parameter in a function
In-Reply-To: <CAFj8pRCMpZ-pn8v_U316X=rKvPCg1nbe+_aKpj0qPUGy8fiqfw@mail.gmail.com>
* 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