Re: RFE: Column aliases in WHERE clauses

From: David Johnston <polobo(at)yahoo(dot)com>
To: Ryan Kelly <rpkelly22(at)gmail(dot)com>
Cc: "Daniel Serodio \(lists\)" <daniel(dot)lists(at)mandic(dot)com(dot)br>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: RFE: Column aliases in WHERE clauses
Date: 2012-09-17 21:59:11
Message-ID: 8A187125-08CE-42F6-9DF3-F096063BF729@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sep 17, 2012, at 17:42, Ryan Kelly <rpkelly22(at)gmail(dot)com> wrote:

> On Mon, Sep 17, 2012 at 06:18:53PM -0300, Daniel Serodio (lists) wrote:
>> It would be nice if PostgreSQL supported column aliases in WHERE
>> clauses, eg:
>>
>> SELECT left(value, 1) AS first_letter
>> FROM some_table
>> WHERE first_letter > 'a';
>>
>> Is this the proper mailing list for such feature requests?
> I think this is explicitly disallowed by the spec.
>

Just to be clear, the spec does not care where you post your feature requests...it is the feature that it disallows.

When in doubt the general list is a good choice and all the key people monitor it and will move the discussion elsewhere if warranted.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Serodio (lists) 2012-09-17 22:10:48 Re: RFE: Column aliases in WHERE clauses
Previous Message Chris Angelico 2012-09-17 21:57:28 Re: Official C++ API for postgresql?