Re: Query issue/8.0.1/Serendipity

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Query issue/8.0.1/Serendipity
Date: 2005-03-08 12:29:48
Message-ID: 200503080629.48411.ler@lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tuesday 08 March 2005 06:17 am, Richard Huxton wrote:
> Larry Rosenman wrote:
> > I have an 8.0.1 server running the Blogging software serendipity, and the
> > following query fails with "relation e not defined", but it is on the
> > first line:
> >
> > "SELECT timestamp FROM serendipity_entries e, serendipity_category c,
> >
> > serendipity_entrycat ec LEFT OUTER JOIN serendipity_entryproperties
>
> I think this line here is the problem. You've told it to LEFT OUTER JOIN
> from "ec", not "e".
>
and re-arranging the FROM clause to put serendipity_entries e right before the
LEFT OUTER JOIN runs.

I've reported this to the s9y folks.

LER

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-351-4152 E-Mail: ler(at)lerctr(dot)org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Glaesemann 2005-03-08 12:35:15 Re: Query issue/8.0.1/Serendipity
Previous Message Larry Rosenman 2005-03-08 12:28:38 Re: Query issue/8.0.1/Serendipity