יש סיכוי לשדרג את גרסת ה-postgres-client?

I suggest you test it on a staging site before doing anything in production, but I think there won’t be any issues with Ruby gems. Installing it in the running container should work as well.