Re: Improving the comments in pqsignal()

2023-11-24 Thread Thomas Munro
On Fri, Nov 24, 2023 at 8:55 PM Heikki Linnakangas wrote: > On 24/11/2023 00:33, Thomas Munro wrote: > > This is program 10.12 from Advanced Programming in the UNIX > > Environment, with minor changes. > In the copy I found online (3rd edition), it's "Figure 10.18", not > "program 10.12". > > Othe

Re: Improving the comments in pqsignal()

2023-11-23 Thread Heikki Linnakangas
On 24/11/2023 00:33, Thomas Munro wrote: Hi, While following along with Tristan and Heikki's thread about signals in psql, it occurred to me that the documentation atop pqsignal() is not very good: * we don't explain what problem it originally solved * we don't explain why it's still needed

Improving the comments in pqsignal()

2023-11-23 Thread Thomas Munro
Hi, While following along with Tristan and Heikki's thread about signals in psql, it occurred to me that the documentation atop pqsignal() is not very good: * we don't explain what problem it originally solved * we don't explain why it's still needed today * we don't explain what else it does