I have done it in my previous project . Yes it’s difficult and time taking process . Because some features which is in oracle will not be working for Postgres. We need to find the equivalent of it and change code .
I have used AWS schema conversion tool to converts complete schema as it will not do your complete job some changes needs to be done manually….