Commit 1a75c1d
committed
Fix unportable code in pgbench.
The buildfarm points out that UINT64_FORMAT might not work with sscanf;
it's calibrated for our printf implementation, which might not agree
with the platform-supplied sscanf. Fall back to just accepting an
unsigned long, which is already more than the documentation promises.
Oversight in e6c3ba7; back-patch to v11, as that was.1 parent 8cde7f4 commit 1a75c1d
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5019 | 5019 | | |
5020 | 5020 | | |
5021 | 5021 | | |
5022 | | - | |
| 5022 | + | |
| 5023 | + | |
5023 | 5024 | | |
5024 | 5025 | | |
5025 | | - | |
| 5026 | + | |
| 5027 | + | |
5026 | 5028 | | |
5027 | 5029 | | |
5028 | 5030 | | |
5029 | 5031 | | |
5030 | 5032 | | |
5031 | 5033 | | |
| 5034 | + | |
5032 | 5035 | | |
5033 | 5036 | | |
5034 | 5037 | | |
| |||
0 commit comments