On Tue, Aug 30, 2011 at 11:03 AM, JD Wong <jdmswong(at)gmail(dot)com> wrote:
> Hi,
> When I run select datname, procpid, current_query from pg_stat_activity; I
> get 26 rows of <IDLE> queries. How can I set postgres to qutomatically
> close connections that have finished their queries and now sit idle?
you don't. this should be managed from the client, or you can use a
connection pool.
merlin