• Alvaro Herrera's avatar
    Tweak FOR UPDATE/SHARE error message wording (again) · c359a1b0
    Alvaro Herrera authored
    In commit 0ac5ad51 I changed some error messages from "FOR
    UPDATE/SHARE" to a rather long gobbledygook which nobody liked.  Then,
    in commit cb9b66d3 I changed them again, but the alternative chosen
    there was deemed suboptimal by Peter Eisentraut, who in message
    1373937980.20441.8.camel@vanquo.pezone.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.
    c359a1b0
analyze.c 75.8 KB