Re: Precedence of standard comparison operators

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Precedence of standard comparison operators
Дата
Msg-id CAM-w4HNDG_DBkXsk4GPsVOd6+X1gmYjx8JZgBOo0EDBKPMRGzg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Precedence of standard comparison operators  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-hackers

On Wed, Mar 11, 2015 at 8:36 PM, Kevin Grittner <kgrittn@ymail.com> wrote:
Right; and they may have millions of lines of code which have been
carefully tested and in production for years, and which may
suddenly start to generate incorrect results on queries *or mangle
existing data* with the fix unless they change their SQL code.

Well not suddenly. When doing a major upgrade. And we provide a tool to help them identify the problems.

But having a warning enabled by default means the problem is effectively not fixed at all. People will not be able to write code that's valid according to the docs and the spec without extra parentheses or disabling the warning.


--
greg

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeevan Chalke
Дата:
Сообщение: Re: How about to have relnamespace and relrole?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [PATCH] Add transforms feature