forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4131f75
committed
Repair find_inheritance_children with no active snapshot
When working on a scan with only a catalog snapshot, we may not have anActiveSnapshot set. If we were to come across a detached partition,that would cause a crash. Fix by only ignoring detached partitions whenthere's an active snapshot.1 parenta3027e1 commit4131f75
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 |
| - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
110 | 112 |
| |
111 | 113 |
| |
112 |
| - | |
| 114 | + | |
| 115 | + | |
113 | 116 |
| |
114 | 117 |
| |
115 | 118 |
| |
|
0 commit comments
Comments
(0)