Re: pgbench - refactor init functions with buffers

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: pgbench - refactor init functions with buffers
Дата
Msg-id alpine.DEB.2.21.2003272354490.16227@pseudo
обсуждение исходный текст
Ответ на Re: pgbench - refactor init functions with buffers  (David Steele <david@pgmasters.net>)
Ответы Re: pgbench - refactor init functions with buffers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>> Ok. I find it strange to mix PQExpBuffer & StringInfo in the same file.
>
> Agreed, but we'd rather use StringInfo going forward.  However, I don't think 
> that puts you on the hook for updating all the PQExpBuffer references.
>
> Unless you want to...

I cannot say that I "want" to fix something which already works the same 
way, because it is against my coding principles.

However there may be some fun in writing a little script to replace one 
with the other automatically. I counted nearly 3500 calls under src/bin.

-- 
Fabien.



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Berserk Autovacuum (let's save next Mandrill)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: [COMMITTERS] pgsql: Remove pgbench "progress" test pending solution of its timing is (fwd)