Drop support for getting signal descriptions from sys_siglist[].
Tom Lane <tgl@sss.pgh.pa.us>
Drop support for getting signal descriptions from sys_siglist[]. It appears that all platforms that have sys_siglist[] also have strsignal(), making that fallback case in pg_strsignal() dead code. Getting rid of it allows dropping a configure test, which seems worth more than providing textual signal descriptions on whatever platforms might still hypothetically have use for the fallback case. Discussion: https://postgr.es/m/25758.1544983503@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +0 −18 |
| configure.in | modified | +0 −8 |
| src/include/pg_config.h.in | modified | +0 −4 |
| src/port/pgstrsignal.c | modified | +9 −12 |
Discussion
- Why aren't we using strsignal(3) ? 5 messages · 2018-12-16 → 2018-12-17