postgres=#postgres=# -- set_byte(string, offset, newvalue)postgres=# -- Set byte in stringpostgres=#postgres=# select set_byte('Th\\000omas'::bytea, 4, 64); set_byte------------ Th\000o@as(1 row)postgres=#postgres=#