Re: BUG #8335: trim() un-document behaviour

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #8335: trim() un-document behaviour
Дата
Msg-id 19166.1376060775@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #8335: trim() un-document behaviour  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: BUG #8335: trim() un-document behaviour  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
Bruce Momjian <bruce@momjian.us> writes:
> The attached patch swaps the arguments in the parser, and allows your
> expected behavior:

This patch is completely unsafe.  It will break stored rules, which may
contain calls using the existing argument order (which will be dumped
without any of the SQL-spec syntactic sugar).  To say nothing of existing
applications that may be relying on calling the underlying functions with
their existing argument order.

The inconsistency in argument order is unfortunate but we're long since
stuck with it, I'm afraid.

            regards, tom lane

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

Предыдущее
От: Romain Billon-Grand
Дата:
Сообщение: Re: BUG #8335: trim() un-document behaviour
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #8335: trim() un-document behaviour