Re: extend pgbench expressions with functions

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: extend pgbench expressions with functions
Дата
Msg-id CAB7nPqTpD=PCUWojNNf5rOY+84sP6QW+=p8vGj013w1=ccAD0A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: extend pgbench expressions with functions  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: extend pgbench expressions with functions  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
On Thu, Feb 11, 2016 at 12:37 AM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
> v26 attached implements these changes.

+    /* the argument list has been built in reverse order, it is fixed here */
+    expr->u.function.args = reverse_elist(args);
Hm. I may be missing something, but why is that necessary? This is
basically doing a double-reversion to put all the arguments in the
correct order when parsing the function arguments.
-- 
Michael



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

Предыдущее
От: Jacek Wielemborek
Дата:
Сообщение: Re: Request for Code Review: BPGSQL
Следующее
От: Mike Rylander
Дата:
Сообщение: Re: Fuzzy substring searching with the pg_trgm extension