forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0276ae4
committed
Improve a few things in pg_walinspect
This improves a few things in pg_walinspect:- Return NULL rather than empty strings in pg_get_wal_records_info() forthe block references and the record description if there is noinformation provided by the fallback. This point has been raised byPeter Geoghegan.- Add a check on XLogRecHasAnyBlockRefs() for pg_get_wal_block_info(),to directly skip records that have no block references. This speeds upthe function a bit, depending on the number of records that have noblock references.Author: Bharath RupireddyReviewed-by: Kyotaro Horiguchi, Michael PaquierDiscussion:https://postgr.es/m/CALj2ACWL9RG8sGJHinggRNBTxgRWJTSxCkB+cE6=t3Phh=Ey+A@mail.gmail.com1 parent850f4b4 commit0276ae4
1 file changed
+27
-15
lines changedLines changed: 27 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 |
| - | |
190 |
| - | |
191 | 189 |
| |
192 | 190 |
| |
193 | 191 |
| |
| |||
199 | 197 |
| |
200 | 198 |
| |
201 | 199 |
| |
202 |
| - | |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 |
| - | |
208 | 200 |
| |
209 | 201 |
| |
210 | 202 |
| |
211 | 203 |
| |
212 | 204 |
| |
213 | 205 |
| |
214 | 206 |
| |
215 |
| - | |
| 207 | + | |
| 208 | + | |
216 | 209 |
| |
217 |
| - | |
218 |
| - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
219 | 227 |
| |
220 | 228 |
| |
221 | 229 |
| |
| |||
377 | 385 |
| |
378 | 386 |
| |
379 | 387 |
| |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
380 | 393 |
| |
381 | 394 |
| |
382 | 395 |
| |
| |||
385 | 398 |
| |
386 | 399 |
| |
387 | 400 |
| |
388 |
| - | |
389 |
| - | |
390 | 401 |
| |
391 | 402 |
| |
392 | 403 |
| |
| |||
483 | 494 |
| |
484 | 495 |
| |
485 | 496 |
| |
486 |
| - | |
487 |
| - | |
488 | 497 |
| |
489 | 498 |
| |
490 | 499 |
| |
| |||
501 | 510 |
| |
502 | 511 |
| |
503 | 512 |
| |
| 513 | + | |
| 514 | + | |
| 515 | + | |
504 | 516 |
| |
505 | 517 |
| |
506 | 518 |
| |
|
0 commit comments
Comments
(0)