-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: crash from drop impls that panic via
leak_and_drop_on_delete()
(…
…#1929) If `PgMemoryContexts::leak_and_drop_on_delete()` leaks a type that is `impl Drop`, and that implementation happens to panic, then Postgres will segfault because the callback function was not properly guarded. As a drive-by, slightly cleanup error reporting in the test framework.
- Loading branch information
1 parent
0193fd0
commit e82264c
Showing
3 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters