Re: Forcing a specific order

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martin Foster <martin(at)ethereal-realms(dot)org>
Cc: PostgreSQL Novice List <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Forcing a specific order
Date: 2005-10-12 02:34:40
Message-ID: 25813.1129084480@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Martin Foster <martin(at)ethereal-realms(dot)org> writes:
> I should have been a bit more clear on the matter. Order by is useful
> if you want to sort the dataset a specific way using rows. However,
> what if I wanted to specify the order the rows are returned in using
> information from another query?

This sounds like you are trying to force a join order, not a specific
tuple order. Have you read the material about join ordering in the
performance-tips chapter?

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Martin Foster 2005-10-12 02:38:03 Re: Forcing a specific order
Previous Message Martin Foster 2005-10-12 01:30:50 Re: Forcing a specific order