bit_and ( smallint ) → smallintComputes the bitwise AND of all non-null input values.
FUNCTIONS / AGGREGATE FUNCTIONS
bit_and
Read PG 18 manual ↗Computes the bitwise AND of all non-null input values.
Signatures & examples
bit_and ( integer ) → integerComputes the bitwise AND of all non-null input values.
bit_and ( bigint ) → bigintComputes the bitwise AND of all non-null input values.
bit_and ( bit ) → bitComputes the bitwise AND of all non-null input values.
Version history 1
- PG 12 → 13changed
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source