You can use this connection parameter in order to keep an idle connection for a prolonged period of time and be sure that it was not broken. Just specify a non-zero interval in seonds in this parameter, and the connection will perform periodic ping calls to PostgreSQL. If such call fails, the StateChange event occurs.
We recommend to use this parameter only when it is necessary to keep idle connection alive for long periods of time. We do not recommend using it when it's not needed.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2