dBforums

dBforums (http://www.dbforums.com/)
-   PostgreSQL (http://www.dbforums.com/postgresql/)
-   -   Logical operators (http://www.dbforums.com/postgresql/998777-logical-operators.html)

nstamato 05-21-04 13:00

Logical operators
 
Hey,

Can someone tell me if PostgreSQL supports the logical operator XOR?

Thanx

Nikitas Stamatopoulos

le mogwai 05-21-04 14:26

Use the doc, Luke!

http://www.postgresql.org/docs/7.4/s...ions-math.html

nstamato 05-27-04 17:45

The tutorial you gave me a link to just mentions that there is support for the bitwise XOR operator not the logical XOR operator. They are different things. Anyway, as it turns out, PostgreSQL DOES NOT support the XOR logical operator.

cheers,

Nikitas Stamatopoulos

karim2k 06-10-04 11:36

It did
 
Quote:

Originally Posted by nstamato
The tutorial you gave me a link to just mentions that there is support for the bitwise XOR operator not the logical XOR operator. They are different things. Anyway, as it turns out, PostgreSQL DOES NOT support the XOR logical operator.

cheers,

Nikitas Stamatopoulos

# bitwise XOR 17 # 5

nstamato 06-18-04 20:04

It didn't
 
Ok, logic operators are either value operations or bitwise operations. Bitwise operations consider the individual bits separately unlike the value operations that treat the while value as an entity. And when you don't specify bitwise operator, you assume it's the value operation. So, PostgreSQL DOES NOT SUPPORT the XOR value operator. Check this manual and tell me if you think differently:

manual


All times are GMT -4. The time now is 05:37.

Powered by vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.