Re: pgsql: Add strict_multi_assignment and too_many_rows plpgsqlchecks - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pgsql: Add strict_multi_assignment and too_many_rows plpgsqlchecks
Date
Msg-id 2ffe6f81-63a1-bff5-e8d5-5a1efc91c9a6@2ndquadrant.com
Whole thread Raw
Responses Re: pgsql: Add strict_multi_assignment and too_many_rows plpgsql checks  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On 2018-07-25 01:47, Tomas Vondra wrote:
> Add strict_multi_assignment and too_many_rows plpgsql checks

Could you clarify this error message:

    /* translator: %s represents a name of an extra check */
    errdetail("%s check of %s is active.",
             "strict_multi_assignment",
             strict_multiassignment_level == ERROR ? "extra_errors" :
                                                 "extra_warnings"),

What does, for example,

    strict_multi_assignment check of extra_errors is active.

mean?

Also note that the translator comment is only mentioning one of the %s.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: POC: Cleaning up orphaned files using undo logs
Next
From: Peter Eisentraut
Date:
Subject: Re: Fuzzy thinking in is_publishable_class