Merge pull request #17680 from larskanis/fix_bytea_change_detection

PostgreSQL, Fix change detection caused by superfluous bytea unescaping