public inbox for [email protected]  
help / color / mirror / Atom feed
From: Denis Feklushkin <[email protected]>
To: [email protected]
Subject: Extend syntax wish: FOR [KEY] UPDATE
Date: Tue, 30 Sep 2025 10:31:57 +0300
Message-ID: <CAHY2gWde-XNVMSRRN+-rR7iXoGtkMWsSZNDV8V2=e4MU2C52zw@mail.gmail.com> (raw)

Hi! I have an idea.

I think there's some historical confusion near to FOR UPDATE in a SELECT
statement, because this should be called FOR KEY UPDATE or something like.

It's currently impossible to rename it, but it's possible to introduce
optional keyword KEY:

FOR [KEY] UPDATE

Those pedants who care about avoiding confusion with FOR NO KEY UPDATE will
start using this optional word and code will look clearer.


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: Extend syntax wish: FOR [KEY] UPDATE
  In-Reply-To: <CAHY2gWde-XNVMSRRN+-rR7iXoGtkMWsSZNDV8V2=e4MU2C52zw@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