forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcce64a5
committed
Replace use of strerror() with %s by %m in pg_waldump
Sinced6c55de, src/port/snprintf.c is able to use %m instead ofstrerror(). A couple of utilities in src/bin/ have already done theswitch, and do it now for pg_waldump as this reduces the workload fortranslators.Note that more could be done, particularly with pgbench. Thanks toKyotaro Horiguchi for the discussion.Discussion:https://postgr.es/m/20191129065115.GM2505@paquier.xyz1 parente69d644 commitcce64a5
1 file changed
+6
-9
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 |
| - | |
146 |
| - | |
| 145 | + | |
147 | 146 |
| |
148 | 147 |
| |
149 | 148 |
| |
| |||
207 | 206 |
| |
208 | 207 |
| |
209 | 208 |
| |
210 |
| - | |
211 |
| - | |
| 209 | + | |
| 210 | + | |
212 | 211 |
| |
213 | 212 |
| |
214 | 213 |
| |
| |||
316 | 315 |
| |
317 | 316 |
| |
318 | 317 |
| |
319 |
| - | |
| 318 | + | |
320 | 319 |
| |
321 | 320 |
| |
322 | 321 |
| |
| |||
925 | 924 |
| |
926 | 925 |
| |
927 | 926 |
| |
928 |
| - | |
929 |
| - | |
| 927 | + | |
930 | 928 |
| |
931 | 929 |
| |
932 | 930 |
| |
| |||
946 | 944 |
| |
947 | 945 |
| |
948 | 946 |
| |
949 |
| - | |
950 |
| - | |
| 947 | + | |
951 | 948 |
| |
952 | 949 |
| |
953 | 950 |
| |
|
0 commit comments
Comments
(0)