Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would love it if PostgreSQL had packages.

I have tons of PL/SQL that I would like to move from Oracle to PostgreSQL.



I used to miss packages but I mainly use schemas now to organize. Not the same I know but as good as it gets. I also add https://github.com/okbob/plpgsql_check so that I can find bugs earlier since plpgsql is not compiled like pl/sql.


That is the best way, I think. And it even has some plusses: you could have a local tables/views.

But, if you already have a lot of packages and a lot of schemas, separating your packages into schemas seems a bit daunting. Even more so if they have a lot of dependencies.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: