You have the alias in upper case: "C2", and postgres complains about a
lower case "c2". May be this some case sensitivity problem ?
Just a thought.
HTH,
Csaba.
On Tue, 2003-10-21 at 09:17, Jost Richstein wrote:
> Ok. The exact error message is as follows:
>
> SQLException Time : Mon Oct 20
On Tuesday 21 October 2003 08:17, Jost Richstein wrote:
> Ok. The exact error message is as follows:
>
> SQLException Time : Mon Oct 20 13:15:25 CEST 2003
> SQLException ErrorCode : 0
> SQLException SQLState : null
> SQLException Message : ERROR: Relation "c2" does not exist
> SQLException
Ok. The exact error message is as follows:
SQLException Time : Mon Oct 20 13:15:25 CEST 2003
SQLException ErrorCode : 0
SQLException SQLState : null
SQLException Message : ERROR: Relation "c2" does not exist
SQLException Connection: 4878867
The query is something like this:
SELECT DISTI
Jost Richstein <[EMAIL PROTECTED]> writes:
> I am running a query with alias (a self join) against
> version 7.3.4 on Suse Linux 7.3 and on FreeBSD (v5?).
> It runs fine on Linux, but produces an error on
> FreeBSD: "unknown alias C2".
The string "unknown alias" appears nowhere in the 7.3 sources.