Discussion:
(NONE)
(too old to reply)
Alexey A. Britchko
2003-10-10 03:56:17 UTC
Permalink
unsubscribe psql-admin
--
Best regards,
Alexey mailto:***@roaddep.ru


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ***@postgresql.org)
Kris Kiger
2004-07-01 16:08:55 UTC
Permalink
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 property of the sender and is intended solely for the use of the addressee. If you are not the addressee, you should not read, disclose, distribute, copy, use or rely upon the information contained in this transmission. If you have received this transmission in error please delete or destroy it and notify DIGONEX TECHNOLOGIES, INC. immediately at (317) 638-4154.





---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Loading...