Re: inconsistency in aliasing - Mailing list pgsql-general

From Reg Me Please
Subject Re: inconsistency in aliasing
Date
Msg-id 200901141201.23496.regmeplease@gmail.com
Whole thread Raw
In response to inconsistency in aliasing  (Louis-David Mitterrand <vindex+lists-pgsql-general@apartia.org>)
Responses Re: inconsistency in aliasing
List pgsql-general
On Wednesday 14 January 2009 11:46:11 Louis-David Mitterrand wrote:
> Hi,
>
> This works:
>
>     critik=# select current_timestamp::abstime::int4 as score order by score;
>
> This doesn't:
>
>     critik=# select current_timestamp::abstime::int4 as score order by score +
> 1; ERROR:  column "score" does not exist
>     LINE 1: ...urrent_timestamp::abstime::int4 as score order by score + 1 ...
>
> Any idea ?
>
> Thanks,

Looks and smells like a bug.

--
Fahrbahn ist ein graues Band
weisse Streifen, grüner Rand

pgsql-general by date:

Previous
From: Louis-David Mitterrand
Date:
Subject: inconsistency in aliasing
Next
From: "A. Kretschmer"
Date:
Subject: Re: inconsistency in aliasing