I am using postgresql version 9.2 which does not support the configuration parameter idle_in_transaction_session_timeout. I have a perl script which is giving below error and I can see there are open connection processes which are in ideal state for more then few days. I want to close this open connections. 
failed: FATAL: sorry, too many clients already at GA/MiddleTier/Pg.pm line 72
I have set max_connections = 200 in my postgresql.conf file. Please help how this can be achieved.