From: Larry Rosenman <ler@lerctr.org>
To: Richard Huxton <dev@archonet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Query issue/8.0.1/Serendipity
Date: Tue, 8 Mar 2005 06:29:48 -0600
Message-ID: <200503080629.48411.ler@lerctr.org> (raw)
In-Reply-To: <422D97BF.2080307@archonet.com>
References: <200503080548.17179.ler@lerctr.org>
<422D97BF.2080307@archonet.com>
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@lerctr.org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ler@lerctr.org, dev@archonet.com
Subject: Re: Query issue/8.0.1/Serendipity
In-Reply-To: <200503080629.48411.ler@lerctr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox