pgsql: Tweak FOR UPDATE/SHARE error message wording (again)

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak FOR UPDATE/SHARE error message wording (again)
Date: 2013-07-23 18:08:19
Message-ID: E1V1h0V-0002nT-Nv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tweak FOR UPDATE/SHARE error message wording (again)

In commit 0ac5ad5134 I changed some error messages from "FOR
UPDATE/SHARE" to a rather long gobbledygook which nobody liked. Then,
in commit cb9b66d31 I changed them again, but the alternative chosen
there was deemed suboptimal by Peter Eisentraut, who in message
1373937980(dot)20441(dot)8(dot)camel(at)vanquo(dot)pezone(dot)net proposed an alternative
involving a dynamically-constructed string based on the actual locking
strength specified in the SQL command. This patch implements that
suggestion.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c359a1b0823f798fc419adea5da7991845c915aa

Modified Files
--------------
src/backend/optimizer/plan/initsplan.c | 6 +-
src/backend/optimizer/plan/planner.c | 6 +-
src/backend/parser/analyze.c | 127 +++++++++++++++++++++++++++-----
src/include/parser/analyze.h | 1 +
4 files changed, 118 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-07-23 20:24:13 pgsql: Change post-rewriter representation of dropped columns in joinal
Previous Message Kevin Grittner 2013-07-23 16:27:34 Re: [COMMITTERS] pgsql: Add support for REFRESH MATERIALIZED VIEW CONCURRENTLY.