forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8e2b6d4
committed
Fix server crash bug in 'server' backup target.
When this code executed as superuser it appeared to work because nosystem catalog lookups happened, but otherwise it crashes because thereis no transaction environment. Fix that.Report and code change by me. Test case by Dagfinn Ilmari Mannsåker.Discussion:http://postgr.es/m/CA+TgmobiKLXne-2AVzYyWRiO8=rChBQ=7ywoxp=2SmcFw=oDDw@mail.gmail.com1 parent87669de commit8e2b6d4
File tree
2 files changed
+15
-1
lines changed- src
- backend/replication
- bin/pg_basebackup/t
2 files changed
+15
-1
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| |||
67 | 68 |
| |
68 | 69 |
| |
69 | 70 |
| |
| 71 | + | |
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
73 | 75 |
| |
| 76 | + | |
74 | 77 |
| |
75 | 78 |
| |
76 | 79 |
| |
|
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
521 | 521 |
| |
522 | 522 |
| |
523 | 523 |
| |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
524 | 533 |
| |
525 | 534 |
| |
526 | 535 |
| |
| |||
768 | 777 |
| |
769 | 778 |
| |
770 | 779 |
| |
| 780 | + | |
| 781 | + |
0 commit comments
Comments
(0)