set_bit ( bytes bytea, n bigint, newvalue integer ) → byteaSets n'th bit in binary string to
newvalue.set_bit('\x1234567890'::bytea, 30, 0) → \x1234563890Sets n'th bit in binary string to newvalue.
set_bit ( bytes bytea, n bigint, newvalue integer ) → byteaSets n'th bit in binary string to
newvalue.set_bit('\x1234567890'::bytea, 30, 0) → \x1234563890set_bit ( bits bit, n integer, newvalue integer ) → bitSets
n'th bit in bit string to newvalue; the first (leftmost) bit is bit 0.set_bit(B'101010101010101010', 6, 0) → 101010001010101010
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source