Bug?
От | Kris Kiger |
---|---|
Тема | Bug? |
Дата | |
Msg-id | 40E43717.2070304@musicrebellion.com обсуждение исходный текст |
Ответ на | ... ("Alexey A. Britchko" <beholder@roaddep.ru>) |
Список | 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 по дате отправления: