Re: plpgsql.warn_shadow

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plpgsql.warn_shadow
Дата
Msg-id 20466.1393890939@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: plpgsql.warn_shadow  (Joel Jacobson <joel@trustly.com>)
Ответы Re: plpgsql.warn_shadow  (Joel Jacobson <joel@trustly.com>)
Список 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 по дате отправления:

Предыдущее
От: Kouhei Kaigai
Дата:
Сообщение: Re: Custom Scan APIs (Re: Custom Plan node)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TABLE lock strength reduction patch is unsafe