Hi, hackersI'm sure this refactoring is useful because it's more readable when datum value is binary or not.
However, I can see a little improvement. We can declare variable 'bytea *outputbytes' in 'else' because variable is used nowhere except this place.
Regards, Ilia Evdokimov, Tantor Labs LLC.