You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Fix a bunch of places that called malloc and friends with no NULL check.
Where possible, use palloc or pg_malloc instead; otherwise, insertexplicit NULL checks.Generally speaking, these are places where an actual OOM is quiteunlikely, either because they're in client programs that don'tallocate all that much, or they're very early in process startupso that we'd likely have had a fork() failure instead. Hence,no back-patch, even though this is nominally a bug fix.Michael Paquier, with some adjustments by meDiscussion: <CAB7nPqRu07Ot6iht9i9KRfYLpDaF2ZuUv5y_+72uP23ZAGysRg@mail.gmail.com>