]> granicus.if.org Git - postgresql/commit
pgbench: Increase maximum size of log filename from 64 to MAXPGPATH.
authorRobert Haas <rhaas@postgresql.org>
Tue, 15 Nov 2016 14:11:51 +0000 (09:11 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 15 Nov 2016 14:11:51 +0000 (09:11 -0500)
commit56eba9b8a1120c861868dd3d86d927a9e3182880
tree581153a34ca3fe7179518c20553784277c02bd43
parentffa8c3d8521bbd7c6da497264f1a12572a1ff713
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.
src/bin/pgbench/pgbench.c