I prefer your comments:-).
I think this patch is mostly good.
I looked whole the codes again and I found the following comment in the PostgresMain():
```c /* * (5) turn off the idle-in-transaction timeout */
```
Please mention about idle-session timeout and check another comment.