Results 1 to 5 of 5
  1. #1
    Join Date
    May 2004
    Posts
    3

    Unanswered: Logical operators

    Hey,

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

    Thanx

    Nikitas Stamatopoulos

  2. #2
    Join Date
    Apr 2003
    Posts
    23

  3. #3
    Join Date
    May 2004
    Posts
    3
    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

  4. #4
    Join Date
    Apr 2003
    Location
    Tunisia
    Posts
    192

    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
    Open up
    Take a look to my Blog http://www.rundom.com/karim2k

  5. #5
    Join Date
    May 2004
    Posts
    3

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •