pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Ledesma <aledes@euskalnet.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: strange problem
Date: Thu, 26 Jan 2006 06:32:37 +0100
Message-ID: <200601260632.37789.aledes@euskalnet.net> (raw)
In-Reply-To: <DF58692A2DBF5440910BFE80B73D73E1019F2A4E@sqexc02.korem.local>
References: <DF58692A2DBF5440910BFE80B73D73E1019F2A4E@sqexc02.korem.local>

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
=================



view thread (3+ messages)

Message-ID: <200601260632.37789.aledes@euskalnet.net>
Permalink:  ../200601260632.37789.aledes@euskalnet.net/
Also on:    postgresql.org/message-id/200601260632.37789.aledes@euskalnet.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: aledes@euskalnet.net
  Subject: Re: strange problem
  In-Reply-To: <200601260632.37789.aledes@euskalnet.net>
  References: <DF58692A2DBF5440910BFE80B73D73E1019F2A4E@sqexc02.korem.local> <200601260632.37789.aledes@euskalnet.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox