Re: pgbench - add \if support

Dmitry Dolgov <9erthalion6@gmail.com>

From: Dmitry Dolgov <9erthalion6@gmail.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Vik Fearing <vik.fearing@2ndquadrant.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2018-01-09T11:16:04Z
Lists: pgsql-hackers
> On 8 January 2018 at 19:36, Fabien COELHO <coelho@cri.ensmp.fr> wrote:

> What you are trying to do is the result of combining the pgbench-if patch
> and the pgbench-more-ops-and-funcs patch.

Oh, I see. I missed the first message about this patch, sorry. But for some
reason I can't apply both patches (pgbench-more-ops-funcs-23.patch and
pgbench-if-4.patch) in any order:

    Hunk #24 FAILED at 2824.
    Hunk #25 succeeded at 5178 (offset 251 lines).
    1 out of 25 hunks FAILED -- saving rejects to file
    src/bin/pgbench/pgbench.c.rej
    (Stripping trailing CRs from patch; use --binary to disable.)
    patching file src/bin/pgbench/pgbench.h
    (Stripping trailing CRs from patch; use --binary to disable.)
    patching file src/bin/pgbench/t/001_pgbench_with_server.pl
    Hunk #2 FAILED at 226.
    Hunk #3 FAILED at 287.
    Hunk #4 succeeded at 448 (offset 41 lines).
    Hunk #5 succeeded at 505 (offset 41 lines).
    Hunk #6 succeeded at 516 (offset 41 lines).
    2 out of 6 hunks FAILED -- saving rejects to file
    src/bin/pgbench/t/001_pgbench_with_server.pl.rej

Is there any other dependency I should apply?


Commits

  1. Add \if support to pgbench