Bruce Momjian <bruce@momjian.us> writes:
> Patch attached. I would like to backpatch this to all supported
> versions so we are consistent and people don't think different PG
> versions use different return values for this. Is that safe? Looking
> at the uses of this in our code, it seems so. We aren't doing BYTEA
> escaping or TEXT encoding conversion in any of these cases.
I do not think a back-patch is a good idea. Yeah, it probably
won't break anything, but by the same token it won't fix anything.
regards, tom lane