I have stored procedure in postgres with a variable like
DECLARE
totLen BYTEA;
BEGIN
totLen = E'\\x000034';
....
totLen must be exactly 3 bytes an I have to sum other value like
totLen = totLen + 1;
I try totLen = totLen + E'\x01' but doesn't work. What's the correct solution?