Commit 8383486
committed
Force idle_in_transaction_session_timeout off in pg_dump and autovacuum.
We disable statement_timeout and lock_timeout during dump and restore, to
prevent any global settings that might exist from breaking routine backups.
Commit c6dda1f should have added idle_in_transaction_session_timeout to
that list, but failed to.
Another place where these timeouts get turned off is autovacuum. While
I doubt an idle timeout could fire there, it seems better to be safe than
sorry.
pg_dump issue noted by Bernd Helmle, the other one found by grepping.
Report: <352F9B77DB5D3082578D17BB@eje.land.credativ.lan>1 parent f0688d6 commit 8383486
File tree
3 files changed
+14
-7
lines changed- src
- backend/postmaster
- bin/pg_dump
3 files changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
542 | | - | |
| 541 | + | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| 546 | + | |
| 547 | + | |
546 | 548 | | |
547 | 549 | | |
548 | 550 | | |
| |||
1551 | 1553 | | |
1552 | 1554 | | |
1553 | 1555 | | |
1554 | | - | |
1555 | | - | |
| 1556 | + | |
| 1557 | + | |
1556 | 1558 | | |
1557 | 1559 | | |
1558 | 1560 | | |
| 1561 | + | |
| 1562 | + | |
1559 | 1563 | | |
1560 | 1564 | | |
1561 | 1565 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2859 | 2859 | | |
2860 | 2860 | | |
2861 | 2861 | | |
2862 | | - | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
2863 | 2865 | | |
2864 | | - | |
2865 | | - | |
2866 | 2866 | | |
| 2867 | + | |
2867 | 2868 | | |
2868 | 2869 | | |
2869 | 2870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
| 1025 | + | |
| 1026 | + | |
1025 | 1027 | | |
1026 | 1028 | | |
1027 | 1029 | | |
| |||
0 commit comments