Re: plpgsql.warn_shadow

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Marko Tiikkaja <marko(at)joh(dot)to>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Florian Pflug <fgp(at)phlo(dot)org>, Marti Raudsepp <marti(at)juffo(dot)org>
Subject: Re: plpgsql.warn_shadow
Date: 2014-03-18 19:36:49
Message-ID: CAFj8pRDmFrQ_hLRTXJvYd_StsQNwjMBg_sOORATnCxj+R9vo5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

Tomorrow I'll do a review

fast check

<para>
+ To aid the user in finding instances of simple but common problems
before
+ they cause harm, <application>PL/PgSQL</> provides a number of
additional
+ <replaceable>checks</>. When enabled, depending on the configuration,
they
+ can be used to emit either a <literal>WARNING</> or an
<literal>ERROR</>
+ during the compilation of a function.
+ </para>

>>>provides a number of additional<<<

There will be only one check in 9.4, so this sentence is confusing and
should be reformulated.

Regards

Pavel

2014-03-18 20:29 GMT+01:00 Petr Jelinek <petr(at)2ndquadrant(dot)com>:

>
> On 18/03/14 20:15, Pavel Stehule wrote:
>
>
> 2014-03-18 20:14 GMT+01:00 Simon Riggs <simon(at)2ndquadrant(dot)com>:
>
>> On 18 March 2014 19:04, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
>>
>> > I don't think so only "shadow" is good name for some check. Maybe
>> > "shadow-variables-check"
>>
>> "shadowed-variables" would be a better name.
>>
>
> +1
>
>
> Attached V4 uses "shadowed-variables" instead of "shadow".
>
> --
> Petr Jelinek http://www.2ndQuadrant.com/
>
> PostgreSQL Development, 24x7 Support, Training & Services
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2014-03-18 19:38:07 Re: plpgsql.warn_shadow
Previous Message Andres Freund 2014-03-18 19:35:42 Re: Wiki Page Draft for upcoming release