Re: [COMMITTERS] pgsql: pgbench: Allow the transaction log file prefix to be changed.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: pgbench: Allow the transaction log file prefix to be changed.
Date: 2016-11-10 00:03:40
Message-ID: CA+TgmobmhHzwg0Njm2=MRokokT4+jkCRm661as7DJeRzbfO9zg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Nov 9, 2016 at 4:51 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <rhaas(at)postgresql(dot)org> writes:
>> pgbench: Allow the transaction log file prefix to be changed.
>
> Perhaps the "logpath" buffer that the filename is constructed in
> needs to be made bigger. 64 bytes was obviously enough with the
> old pattern, but it's not with the new.

Oops, yes, that seems like a good idea. How about 64 -> MAXPGPATH?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-11-10 03:08:06 Re: Re: [COMMITTERS] pgsql: pgbench: Allow the transaction log file prefix to be changed.
Previous Message Tom Lane 2016-11-09 21:51:59 Re: pgsql: pgbench: Allow the transaction log file prefix to be changed.

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2016-11-10 00:17:11 Re: C based plugins, clocks, locks, and configuration variables
Previous Message Robert Haas 2016-11-10 00:01:30 Re: Parallel tuplesort (for parallel B-Tree index creation)