pgsql: pgbench: Increase maximum size of log filename from 64 to MAXPGP

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pgbench: Increase maximum size of log filename from 64 to MAXPGP
Date: 2016-11-15 14:14:52
Message-ID: E1c6eVg-00054F-QM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pgbench: Increase maximum size of log filename from 64 to MAXPGPATH.

Commit 41124a91e61fc6d9681c1e8b15ba30494e84d643 allowed the
transaction log file prefix to be changed but left in place the
existing 64-character limit on the total length of a log file name.
It's possible that could be inconvenient for somebody, so increase the
limit to MAXPGPATH, which ought to be enough for anybody.

Per a suggestion from Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/56eba9b8a1120c861868dd3d86d927a9e3182880

Modified Files
--------------
src/bin/pgbench/pgbench.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-11-15 14:44:52 pgsql: Fix broken statement in UCS_to_most.pl.
Previous Message Andres Freund 2016-11-14 22:53:19 pgsql: Provide NO_INSTALLCHECK option for pgxs.