News for hackers. Stuff that matters.
Re:A Language Server for Postgres by evanelias on Wednesday February 19, 2025 @05:22PM (#43108508)
Declarative tools/workflows solve this much more elegantly than imperative migration tools. There's some initial discussion in sibling comment thread here, although that isn't specific to procedures/functions.

Regarding stored procs/funcs in particular and managing them like a codebase using a declarative tool, I have a blog post about this at https://www.skeema.io/blog/2023/10/24/stored-proc-deployment... – and although my product is specific to MySQL, a lot of the concepts in the first half of that post are generic and apply to any declarative tool. Some FOSS solutions to look into for Postgres include sqldef and Tusker.

Re:A Language Server for Postgres by tmountain on Friday February 21, 2025 @08:52AM (#43127403)
Thank you!