Re: change the order of FROM selection to make query work

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas Peter" <usenet(at)braindumped(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: change the order of FROM selection to make query work
Date: 2006-09-26 13:35:07
Message-ID: 24813.1159277707@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Thomas Peter" <usenet(at)braindumped(dot)com> writes:
> i support a trac [1] installation and migrated the backend from sqlite to
> postgres 8.1.4, which worked fine, but:
> the following sql stopped working with postgres,

Define "stopped working" ... what was wrong exactly?

Changing the FROM order should certainly not have made any semantic
difference. It's possible that it would have changed the plan chosen,
but unlikely (unless maybe the planner had no statistics to go on?)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kai Hessing 2006-09-26 13:59:48 Re: Dead Lock problem with 8.1.3
Previous Message Jon Lapham 2006-09-26 13:31:05 Re: Restart after poweroutage