forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2a7349f
committed
Fix Assert failure in PushOverrideSearchPath when trying to restore a search
path that specifies useTemp, but there is no active temp schema in thecurrent session. (This can happen if the path was saved during a transactionthat created a temp schema and was later rolled back.) For existing callersit's sufficient to ignore the useTemp flag in this case, though we mightlater want to offer an option to create a fresh temp schema. So far as I cantell this is just an Assert failure: in a non-assert build, the code wouldpush a zero onto the new search path, which is useless but not very harmful.Per bug report from Heikki.Back-patch to 8.3; prior versions don't have this code.1 parent95ef7cd commit2a7349f
2 files changed
+16
-6
lines changedLines changed: 13 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
2667 | 2667 |
| |
2668 | 2668 |
| |
2669 | 2669 |
| |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
2670 | 2681 |
| |
2671 | 2682 |
| |
2672 | 2683 |
| |
| |||
2700 | 2711 |
| |
2701 | 2712 |
| |
2702 | 2713 |
| |
2703 |
| - | |
2704 |
| - | |
2705 |
| - | |
| 2714 | + | |
2706 | 2715 |
| |
2707 |
| - | |
2708 | 2716 |
| |
2709 | 2717 |
| |
2710 | 2718 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| |||
513 | 513 |
| |
514 | 514 |
| |
515 | 515 |
| |
| 516 | + | |
| 517 | + | |
516 | 518 |
| |
517 | 519 |
| |
518 | 520 |
| |
|
0 commit comments
Comments
(0)