Re: pgbench - refactor init functions with buffers

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: pgbench - refactor init functions with buffers
Дата
Msg-id alpine.DEB.2.21.2003272259470.16227@pseudo
обсуждение исходный текст
Ответ на Re: pgbench - refactor init functions with buffers  (David Steele <david@pgmasters.net>)
Ответы Re: pgbench - refactor init functions with buffers  (David Steele <david@pgmasters.net>)
Список pgsql-hackers
Hello David,

>>> I'd prefer not to expand the use of pqexpbuffer in more places, and 
>>> instead rather see this use StringInfo, now that's also available to 
>>> frontend programs.
>> 
>> Franckly, one or the other does not matter much to me.
>
> FWIW, I agree with Andres with regard to using StringInfo.

Ok. I find it strange to mix PQExpBuffer & StringInfo in the same file.

> Also, the changes to executeStatementExpect() and adding executeStatement() 
> do not seem to fit in with the purpose of this patch.

Yep, that was in passing.

Attached a v6 which uses StringInfo, and the small refactoring as a 
separate patch.

-- 
Fabien.
Вложения

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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: Possible copy and past error? (\usr\backend\commands\analyze.c)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: backup manifests