forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcd1c8b9
committed
Avoid low-probability crash on out-of-memory.
check_restrict_nonsystem_relation_kind() correctly uses guc_malloc()in v16 and later. But in older branches it must use malloc()directly, and it forgot to check for failure return.Faulty backpatching of66e9444.Karina LitskevichDiscussion:https://postgr.es/m/CACiT8iZ=atkguKVbpN4HmJFMb4+T9yEowF5JuPZG8W+kkZ9L6w@mail.gmail.com1 parent1168acb commitcd1c8b9
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3489 | 3489 |
| |
3490 | 3490 |
| |
3491 | 3491 |
| |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
3492 | 3497 |
| |
3493 | 3498 |
| |
3494 | 3499 |
| |
|
0 commit comments
Comments
(0)