Ajay Pratap <ajaypratap(at)drishti-soft(dot)com> writes:
> Enabling system wise timeouts can impact my whole setup including my web
> app, thats why it is hard for me to configure them.
Uh ... who said anything about system-wide timeouts?
The normal way to set this up is to configure the tcp_keepalives_xxx
PG parameters, which will be applied to connections to the Postgres
server, nothing else.
regards, tom lane