Re: strange problem

From: Andres Ledesma <aledes(at)euskalnet(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: strange problem
Date: 2006-01-26 05:32:37
Message-ID: 200601260632.37789.aledes@euskalnet.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wednesday 25 January 2006 08:51 pm, Gilbert, Antoine wrote:
>
> Statement stmt = connection.createStatement();
>
> ResultSet rs =stmt.executeQuery("select street from \"QCs_polyline\"");
>
> stmt.close();
>
>
>
> This takes 19 sec. Does I am missing something like a configuration on
> the driver? So far I was just testing PostGIS/PostgreSQL with tiny
> tables.

Did you try to create a function in the database returning the rows you want
to fetch and to use CallableStatement ?

--

Andres Ledesma
=================

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message romje 2006-01-26 11:15:21 Contributing to postgres driver
Previous Message David Hustace 2006-01-26 01:18:07 Re: Socket read fails