Re: pgsql: Add strict_multi_assignment and too_many_rows plpgsql checks

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
Subject: Re: pgsql: Add strict_multi_assignment and too_many_rows plpgsql checks
Date: 2019-05-09 06:52:32
Message-ID: 2ffe6f81-63a1-bff5-e8d5-5a1efc91c9a6@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-05-09 07:19:52 pgsql: pg_controldata: Add common gettext flags
Previous Message Tom Lane 2019-05-09 03:27:59 pgsql: Clean up the behavior and API of catalog.c's is-catalog-relation

Browse pgsql-hackers by date

  From Date Subject
Next Message M Tarkeshwar Rao 2019-05-09 07:11:24 RE: integrate Postgres Users Authentication with our own LDAP Server
Previous Message Laurenz Albe 2019-05-09 06:42:28 Re: integrate Postgres Users Authentication with our own LDAP Server