forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit995e0fb
committed
Un-break genbki.pl's error reporting capabilities.
This essentially reverts commit69eb643, which added a fast pathin Catalog::ParseData, but neglected to preserve the behavior ofadding a line_number field in each hash. That makes it impossiblefor genbki.pl to provide any localization of error reports, which isbad enough; but actually the affected error reports failed entirely,producing useless bleats like "use of undefined value in sprintf".69eb643 claimed to get a 15% speedup, but I'm not sure I believethat: the time to rebuild the bki files changes by less than 1% forme. In any case, making debugging of mistakes in .dat files moredifficult would not be justified by even an order of magnitudespeedup here; it's just not that big a chunk of the total build time.Per report from David Wheeler. Although it's also broken in v16,I don't think this is worth a back-patch, since we're very unlikelyto touch the v16 catalog data again.Discussion:https://postgr.es/m/19238.1710953049@sss.pgh.pa.us1 parent1218ca9 commit995e0fb
1 file changed
+7
-21
lines changedLines changed: 7 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
300 | 300 |
| |
301 | 301 |
| |
302 | 302 |
| |
303 |
| - | |
| 303 | + | |
304 | 304 |
| |
305 | 305 |
| |
| 306 | + | |
| 307 | + | |
306 | 308 |
| |
307 | 309 |
| |
308 |
| - | |
| 310 | + | |
309 | 311 |
| |
310 | 312 |
| |
311 | 313 |
| |
312 | 314 |
| |
313 | 315 |
| |
314 | 316 |
| |
315 | 317 |
| |
316 |
| - | |
317 |
| - | |
318 | 318 |
| |
319 | 319 |
| |
320 | 320 |
| |
| |||
369 | 369 |
| |
370 | 370 |
| |
371 | 371 |
| |
372 |
| - | |
373 |
| - | |
| 372 | + | |
| 373 | + | |
374 | 374 |
| |
375 | 375 |
| |
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
| 380 | + | |
381 | 381 |
| |
382 | 382 |
| |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 |
| - | |
387 |
| - | |
388 |
| - | |
389 |
| - | |
390 |
| - | |
391 |
| - | |
392 |
| - | |
393 |
| - | |
394 |
| - | |
395 |
| - | |
396 |
| - | |
397 | 383 |
| |
398 | 384 |
| |
399 | 385 |
| |
|
0 commit comments
Comments
(0)