public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Pg Docs <[email protected]>
Subject: Update wording of INSERT ON CONFLICT "rows proposed for insertion"
Date: Tue, 8 Mar 2022 17:14:11 -0700
Message-ID: <CAKFQuwZKQoOEHQgTREb7swqryWjHVckcrpOrHUKQqEHznsZfGA@mail.gmail.com> (raw)
Hey,
I suggest a minor rewording of:
https://www.postgresql.org/docs/devel/sql-insert.html
Current:
"The SET and WHERE clauses in ON CONFLICT DO UPDATE have access to the
existing row using the table's name (or an alias), and to [rows] proposed
for insertion using the special excluded table."
Becomes:
"The SET and WHERE clauses in ON CONFLICT DO UPDATE have access to the
existing row using the table's name (or an alias), and to [the
corresponding row] proposed for insertion using the special excluded table."
The plural "rows" just reads oddly since in any single evaluation only one
row is going to be present in the excluded table for the "existing row" in
the target table.
David J.
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]
Subject: Re: Update wording of INSERT ON CONFLICT "rows proposed for insertion"
In-Reply-To: <CAKFQuwZKQoOEHQgTREb7swqryWjHVckcrpOrHUKQqEHznsZfGA@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