Somewhere in every organization, there’s a spreadsheet with a tab for stored procedures. It runs to several hundred rows, most of them written years ago by people who have since left, and until recently, nobody had a reason to open it.
Now your organization has decided to migrate from Microsoft SQL Server to PostgreSQL to reduce licensing costs, gain deployment flexibility, avoid vendor lock-in, support cloud modernization, or standardize on open source.