set_bit ( bytes bytea, n bigint, newvalue integer ) → bytea → byteaSets n'th bit in binary string to
newvalue.Sets n'th bit in binary string to newvalue.
English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
newvalue.set_bit ( bytes bytea, n bigint, newvalue integer ) → bytea → byteaSets n'th bit in binary string to
newvalue.set_bit ( bits bit, n integer, newvalue integer ) → bit → bitSets
n'th bit in bit string to newvalue; the first (leftmost) bit is bit 0.Full definition and evidence JSON
center · PostgreSQL 18 · wiki-repair-20261023:4822c2a9e410f2955bba120244241413c9c19daccdbaa84472f71501e362d973
Text language: en · wiki-repair-20261023:4822c2a9e410f2955bba120244241413c9c19daccdbaa84472f71501e362d973