Re: pgbench - refactor init functions with buffers

Поиск
Список
Период
Сортировка
От Jeevan Ladhe
Тема Re: pgbench - refactor init functions with buffers
Дата
Msg-id CAOgcT0N66ABbmMwEJaXOfF=WZWrSegk9yt=Ybt7DTFHTb3ZzVw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgbench - refactor init functions with buffers  (Dilip Kumar <dilipbalaut@gmail.com>)
Ответы Re: pgbench - refactor init functions with buffers  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers

I haven't read the complete patch.  But, I have noticed that many
places you changed the variable declaration from c to c++ style (i.e
moved the declaration in the for loop).  IMHO, generally in PG, we
don't follow this convention.  Is there any specific reason to do
this?

+1.

The patch does not apply on master, needs rebase.
Also, I got some whitespace errors.

I think you can also refactor the function tryExecuteStatement(), and
call your newly added function executeStatementExpect() by passing
an additional flag something like "errorOK".

Regards,
Jeevan Ladhe

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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: Questions/Observations related to Gist vacuum
Следующее
От: Devrim Gündüz
Дата:
Сообщение: v12 pg_basebackup fails against older servers (take two)