Commit 21a70ce
authored
force using extern "C-unwind" for functions marked with #[pg_guard] (#2014)
`pgrx` is switched from "C" to "C-unwind" in #1934 so it's fine to emit
an error here
Without this error, someone who updates dependencies without reading
changelog, would break extensions silently, if their only usage of
`#[pg_guard]` is `_PG_init`. It's bad.1 parent f0e8512 commit 21a70ce
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | 404 | | |
406 | 405 | | |
407 | | - | |
408 | 406 | | |
409 | 407 | | |
410 | 408 | | |
| |||
0 commit comments