NJrslv commented on PR #1481:
URL: https://github.com/apache/cloudberry/pull/1481#issuecomment-3664538432

   If I am not the one merging this PR, I have provided the commit message and 
body below for the merger to copy & paste
   ```
   Fix std::terminate() crash in GPOPTOptimizedPlan()
   ```
   
   ```
   Fix a crash occurring when CloneErrorMsg() fails (e.g. from OOM)
   inside a catch block. Previously, this triggered std::terminate().
   
   Now, rethrow the exception to the Postgres handler. Postgres reserves
   memory to handle errors gracefully, ensuring the user receives an
   error message instead of the process terminating.
   
   Includes a new regression test with fault injection.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to