SELECT ... FOR UPDATE OF

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: at(dot)light(at)live(dot)com(dot)au
Subject: SELECT ... FOR UPDATE OF
Date: 2020-12-17 11:00:28
Message-ID: 160820282823.681.9168957070146872661@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/sql-select.html
Description:

The FOR UPDATE clause of the SELECT statement can be followed by an OF
clause, but this is never explained at all in the documentation, as far as I
can tell. What does it do? This needs to be written down.

For example, when attempting to use the OF clause in a particular query, I
get the error "FOR UPDATE must specify unqualified relation names". The
documentation doesn't provide enough information for me to understand what I
have done wrong, so I will have to use trial and error to solve my problem.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2020-12-17 15:01:50 Re: The sub-categories do not have anchors on this page
Previous Message Bruce Momjian 2020-12-16 23:42:27 Re: pg_upgrade is not correct