Re: Re: is this possible? it should be!

From: newsreader(at)mediaone(dot)net
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: is this possible? it should be!
Date: 2001-08-21 12:50:19
Message-ID: 20010821085019.A31396@dragon.universe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 20, 2001 at 10:30:07PM -0700, Stephan Szabo wrote:
>
>
> I don;'t know if it's considered now, but that query (the
> original) doesn't necessarily require a sort step. With an index on
> (d,e) I think you could do the query using the index for both the
> constraint (d=2) and the ordering stopping when you have 10 rows.

I see. What I am asking is impossible then.

Thanks. I will have to go with two queries
approach

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2001-08-21 12:54:27 Re: Sort by foreign date column
Previous Message Bruno Wolff III 2001-08-21 12:22:53 Re: Dynamically discovering field names in PLPGSQL queries