pgsql: Print policy name in perlcritic messages

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Print policy name in perlcritic messages
Date: 2020-04-13 15:50:30
Message-ID: E1jO1Ly-0008Ms-51@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Print policy name in perlcritic messages

This makes it easier to do a web search for details of the policy that's
been violated, as well as displaying the name that might be needed for a
policy override.

Various perlcritic settings changes are being discussed, but this one
should be uncontroversial.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8930e43ecd3f683c457865131d7a932401a2188f

Modified Files
--------------
src/tools/perlcheck/perlcriticrc | 6 ++++++
1 file changed, 6 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2020-04-13 16:00:19 pgsql: Use perl warnings pragma consistently
Previous Message Robert Haas 2020-04-13 14:51:54 pgsql: Rename pg_validatebackup to pg_verifybackup some more.