forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit24503fa
committed
reindexdb: move PQfinish() calls to the right place
get_parallel_object_list() has no business closing a connection it didnot create. Make things more sensible by closing the connection at thelevel where it is created, in reindex_one_database().Extracted from a larger patch by the same author. However, the patch assubmitted not only was not described as containing this change, but inaddition it contained a fatal flaw whereby reindexdb would crash andfail across all of its TAP test, which is why I list myself asco-author.Author: Ranier Vilela <ranier.vf@gmail.com>Author: Álvaro Herrera <alvherre@alvh.no-ip.org>Discussion:https://postgr.es/m/CAEudQArfqr0-s0VVPSEh=0kgOgBJvFNdGW=xSL5rBcr0WDMQYQ@mail.gmail.com1 parent0f21db3 commit24503fa
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
339 | 339 |
| |
340 | 340 |
| |
341 | 341 |
| |
| 342 | + | |
| 343 | + | |
342 | 344 |
| |
| 345 | + | |
343 | 346 |
| |
344 | 347 |
| |
345 | 348 |
| |
| |||
352 | 355 |
| |
353 | 356 |
| |
354 | 357 |
| |
| 358 | + | |
| 359 | + | |
355 | 360 |
| |
| 361 | + | |
356 | 362 |
| |
357 | 363 |
| |
358 | 364 |
| |
| |||
370 | 376 |
| |
371 | 377 |
| |
372 | 378 |
| |
| 379 | + | |
| 380 | + | |
373 | 381 |
| |
| 382 | + | |
374 | 383 |
| |
375 | 384 |
| |
376 | 385 |
| |
| |||
416 | 425 |
| |
417 | 426 |
| |
418 | 427 |
| |
| 428 | + | |
419 | 429 |
| |
420 | 430 |
| |
421 | 431 |
| |
| |||
765 | 775 |
| |
766 | 776 |
| |
767 | 777 |
| |
768 |
| - | |
769 | 778 |
| |
770 | 779 |
| |
771 | 780 |
| |
|
0 commit comments
Comments
(0)