Re: Very slow queries on 8.1

From: David Rysdam <drysdam(at)ll(dot)mit(dot)edu>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Very slow queries on 8.1
Date: 2005-11-17 16:53:15
Message-ID: 437CB57B.4080506@ll.mit.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martijn van Oosterhout wrote:

>On Thu, Nov 17, 2005 at 11:31:27AM -0500, David Rysdam wrote:
>
>
>>Right, it's about 100k rows and it is through libpq (pgadmin in this
>>case, but my app uses libpq from pgtcl). Is there a way to tell libpq
>>to not do what it "likes" and do what I need instead? I didn't see
>>anything in the docs, but I didn't look very hard.
>>
>>
>
>Use the async interface. There you submit the query and retrieve rows
>as they come in. It's a bit trickier to program but it can be done.
>
>psql doesn't do this though, it's not clear how it could anyway, given
>the way it formats.
>
>Have a nice day,
>
>
I'm experimenting with the async interface right now. Hopefully it will
fit in well.

It's OK if psql/pgadmin don't do it, as long as the app does.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Rysdam 2005-11-17 16:54:00 Re: Very slow queries on 8.1
Previous Message Bruno Wolff III 2005-11-17 16:52:25 Re: Very slow queries on 8.1