Bug? - Mailing list pgsql-admin

From Kris Kiger
Subject Bug?
Date
Msg-id 40E43717.2070304@musicrebellion.com
Whole thread Raw
In response to ...  ("Alexey A. Britchko" <beholder@roaddep.ru>)
List pgsql-admin
select * from temptable where tempcolumn != 'blah'||'blah';
        or
    select * from temptable where tempcolumn <> 'blah'||'blah';

I could be wrong, but there may be an bug in the order of precedence.
 If you try the above query, postgres will return:
    ERROR:  array value must start with "{" or dimension information

If you group the expressions as;
    select * from temptable where tempcolumn != ('blah'||'blah');
or
    select * from temptable where tempcolumn <> ('blah'||'blah');
it works like a charm.

Just curious if there is a reason for this order of operation.  Thanks

Kris

______________________________
Kris Kiger
Software Developer
Digonex Technologies, Inc.
317.638.4174 Fax


CONFIDENTIALITY NOTICE:  The information in this transmission is private, confidential, may be legally privileged, is
propertyof the sender and is intended solely for the use of the addressee.  If you are not the addressee, you should
notread, disclose, distribute, copy, use or rely upon the information contained in this transmission.  If you have
receivedthis transmission in error please delete or destroy it and notify DIGONEX TECHNOLOGIES, INC. immediately at
(317)638-4154. 





pgsql-admin by date:

Previous
From: Jean-Christophe Weis
Date:
Subject: unable to pass variable PGDATA2 into server environment
Next
From: Tom Lane
Date:
Subject: Re: unable to pass variable PGDATA2 into server environment