Re: change the order of FROM selection to make query work - Mailing list pgsql-general

From Tom Lane
Subject Re: change the order of FROM selection to make query work
Date
Msg-id 24813.1159277707@sss.pgh.pa.us
Whole thread Raw
In response to change the order of FROM selection to make query work  ("Thomas Peter" <usenet@braindumped.com>)
Responses Re: change the order of FROM selection to make query work  ("Thomas Peter" <thomas@braindumped.com>)
List pgsql-general
"Thomas Peter" <usenet@braindumped.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

pgsql-general by date:

Previous
From: Jon Lapham
Date:
Subject: Re: Restart after poweroutage
Next
From: Kai Hessing
Date:
Subject: Re: Dead Lock problem with 8.1.3