Re: pgbench - refactor init functions with buffers

Поиск
Список
Период
Сортировка
Искать
От
Fabien COELHO
Тема
Re: pgbench - refactor init functions with buffers
Дата
Msg-id
alpine.DEB.2.21.1911060631510.27573@lancre
Ответ на
Список
Дерево обсуждения
pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
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>
Re: pgbench - refactor init functions with buffers Dilip Kumar <dilipbalaut@gmail.com>
Re: pgbench - refactor init functions with buffers Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers Andres Freund <andres@anarazel.de>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers David Steele <david@pgmasters.net>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers David Steele <david@pgmasters.net>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers Tom Lane <tgl@sss.pgh.pa.us>
Re: pgbench - refactor init functions with buffers Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pgbench - refactor init functions with buffers David Steele <david@pgmasters.net>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers Heikki Linnakangas <hlinnaka@iki.fi>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers Andres Freund <andres@anarazel.de>
Re: pgbench - refactor init functions with buffers Tom Lane <tgl@sss.pgh.pa.us>
Re: pgbench - refactor init functions with buffers Andres Freund <andres@anarazel.de>
Re: pgbench - refactor init functions with buffers Tom Lane <tgl@sss.pgh.pa.us>
Re: pgbench - refactor init functions with buffers Andres Freund <andres@anarazel.de>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench - refactor init functions with buffers Fabien COELHO <coelho@cri.ensmp.fr>

Hello Andres,

>> Attached v3 shorten some lines and adds "append_tablespace".

A v4 which just extends the patch to newly added 'G'.

> 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.

However, pgbench already uses PQExpBuffer, it uses PsqlScanState which 
also uses PQExpBuffer, and it intrinsically depends on libpq which 
provides PQExpBuffer: ISTM that it makes sense to keep going there, unless 
PQExpBuffer support is to be dropped.

Switching all usages would involve a significant effort and having both 
PQExpBuffer and string_info used in the same file for the same purpose 
would be confusing.

-- 
Fabien.
В списке pgsql-hackers по дате отправления
От: Yuya Watari
Дата:
От: Tatsuro Yamada
Дата:
FAQ