forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit84bee96
committed
Improve version reporting in pgbench.
Commit547f04e 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.us1 parent7c337b6 commit84bee96
2 files changed
+36
-2
lines changedLines changed: 35 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
| |||
5493 | 5494 |
| |
5494 | 5495 |
| |
5495 | 5496 |
| |
| 5497 | + | |
| 5498 | + | |
| 5499 | + | |
| 5500 | + | |
| 5501 | + | |
| 5502 | + | |
| 5503 | + | |
| 5504 | + | |
| 5505 | + | |
| 5506 | + | |
| 5507 | + | |
| 5508 | + | |
| 5509 | + | |
| 5510 | + | |
| 5511 | + | |
| 5512 | + | |
| 5513 | + | |
| 5514 | + | |
| 5515 | + | |
| 5516 | + | |
| 5517 | + | |
| 5518 | + | |
| 5519 | + | |
| 5520 | + | |
| 5521 | + | |
| 5522 | + | |
| 5523 | + | |
| 5524 | + | |
| 5525 | + | |
| 5526 | + | |
| 5527 | + | |
5496 | 5528 |
| |
5497 | 5529 |
| |
5498 | 5530 |
| |
| |||
5506 | 5538 |
| |
5507 | 5539 |
| |
5508 | 5540 |
| |
5509 |
| - | |
5510 | 5541 |
| |
5511 | 5542 |
| |
5512 | 5543 |
| |
| |||
6334 | 6365 |
| |
6335 | 6366 |
| |
6336 | 6367 |
| |
| 6368 | + | |
| 6369 | + | |
| 6370 | + | |
6337 | 6371 |
| |
6338 | 6372 |
| |
6339 | 6373 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
103 |
| - | |
| 103 | + | |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
|
0 commit comments
Comments
(0)