From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
---|---|
To: | Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com> |
Cc: | Tatsuo Ishii <ishii(at)postgresql(dot)org>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Refactoring pgbench.c |
Date: | 2015-06-28 18:37:34 |
Message-ID: | alpine.DEB.2.10.1506282025050.25959@sto |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>> This is kind of surprising to me that two people are against
>> refactoring proposal (I understand that Fabien has pending patches for
>> pgbench and that could be a motivation for this though).
>
> I think that's a misunderstanding. I'm not against refactoring - not at all,
> and neither is Fabien I believe.
Indeed I'm not, I was writing about splitting "pgbench.c" into several
files. Although, as Tatsuo-san noted, I'm probably against a refactoring
before the patches I already submitted get considered:-)
Really refactoring would mean breaking apart the long functions, but these
are long for some reasons (say global goto to handle errors...), so how to
do something very useful on that line is not clear to me.
--
Fabien.
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2015-06-28 18:46:47 | Re: pg_rewind failure by file deletion in source server |
Previous Message | Tomas Vondra | 2015-06-28 18:18:13 | Re: Refactoring pgbench.c |