The patch was not getting applied. Was seeing below message:
postgresql$ git apply /Downloads/unchanged.patch
error: src/backend/utils/adt/ri_triggers.c: already exists in working directory
Have come up with attached patch which hopefully should not have missed any of your changes.
Please verify the changes.
Regards,
Chetan
PS: would like the patch name to be something meaningful.
--
EnterpriseDB Corporation
The Enterprise PostgreSQL Company