Re: pgbench: Skipping the creating primary keys after initialization

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgbench: Skipping the creating primary keys after initialization
Date: 2017-09-05 15:11:18
Message-ID: alpine.DEB.2.20.1709051706490.14783@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Sorry, I don't follow that. You meant I should add a newline before
> pg_realloc()? That is,
>
> + initialize_cmds =
> + (char *) pg_realloc(initialize_cmds,
> + sizeof(char) * n_cmds + 1);

Yes. Or maybe my terminal was doing tricks, because I had the impression
that both argument where on the same line with many tabs in between, but
maybe I just misinterpreted the diff file. My apology if it is the case.

--
Fabien.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2017-09-05 15:13:30 Re: Variable substitution in psql backtick expansion
Previous Message Tom Lane 2017-09-05 14:54:51 Re: Variable substitution in psql backtick expansion