git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7c337b6) | patch
Improve version reporting in pgbench.
2021年6月18日 21:05:23 +0000 (17:05 -0400)
2021年6月18日 21:05:23 +0000 (17:05 -0400)
commit 84bee9610965331d5110971d8de390a5bbe2effc
Improve version reporting in pgbench.

Commit 547f04e73 caused pgbench to start printing its version number,
which seems like a fine idea, but it needs a bit more work:
* Print the server version number too, when different.
* Print the PG_VERSION string, not some reconstructed approximation.

This patch copies psql's well-tested code for the same purpose.

Discussion: https://postgr.es/m/1226654.1624036821@sss.pgh.pa.us
src/bin/pgbench/pgbench.c diff | blob | blame | history
src/bin/pgbench/t/001_pgbench_with_server.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /