Re: plpgsql.warn_shadow - Mailing list pgsql-hackers

From Tom Lane
Subject Re: plpgsql.warn_shadow
Date
Msg-id 20466.1393890939@sss.pgh.pa.us
Whole thread Raw
In response to Re: plpgsql.warn_shadow  (Joel Jacobson <joel@trustly.com>)
Responses Re: plpgsql.warn_shadow  (Joel Jacobson <joel@trustly.com>)
List pgsql-hackers
Joel Jacobson <joel@trustly.com> writes:
> I strongly think it should be made an error, because it is most
> certainly an error, and even if it's not, it's at least bad coding
> style and the code should be fixed anyway, or if one is lazy, turn
> this off in the config file and make it a warning instead.

You're reasoning from a false premise: it's *not* necessarily an error.
If this were such a bad idea as you claim, generations of programming
language designers wouldn't have made their languages work like this.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Kouhei Kaigai
Date:
Subject: Re: Custom Scan APIs (Re: Custom Plan node)
Next
From: Tom Lane
Date:
Subject: Re: ALTER TABLE lock strength reduction patch is unsafe