bit_xor()

A function for computing the bitwise exclusive OR of input values
This entry relates to a PostgreSQL feature which is part of PostgreSQL 14, due to be released in late 2021.

bit_xor() is a system function for computing the bitwise exclusive OR of all non-null input values.

bit_xor() was added in PostgreSQL 14.

Usage

bit_xor ( smallint ) → smallint

bit_xor ( integer ) → integer

bit_xor ( bigint ) → bigint

bit_xor ( bit ) → bit

bit_xor() in other databases

Change history

Categories

System function

See also

bit_and(), bit_or()