I wrote:
Strange. Are you sure the time is spent on executing the query, and not on acquiring the connection? What kind of an application is it? There's no application server or framework involved? Would you please add loglevel=1 to the URL, and post the output? Maybe that will give a clue.
Actually loglevel=2, that'll give more details.. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com