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

From Robert Haas
Subject Re: [COMMITTERS] pgsql: pgbench: Allow the transaction log file prefix to be changed.
Date
Msg-id CA+TgmobmhHzwg0Njm2=MRokokT4+jkCRm661as7DJeRzbfO9zg@mail.gmail.com
Whole thread Raw
Responses Re: Re: [COMMITTERS] pgsql: pgbench: Allow the transaction log file prefix to be changed.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Nov 9, 2016 at 4:51 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <rhaas@postgresql.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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Parallel tuplesort (for parallel B-Tree index creation)
Next
From: Kouhei Kaigai
Date:
Subject: Re: PassDownLimitBound for ForeignScan/CustomScan [take-2]