A Language Server for Postgres

31 points by fanf


koala

It would be cool if these things had integration with webapp development servers and/or executing databases.

I know you can use Docker Compose, but now that there are good PostgreSQL servers packaged that you can download and run, we should start using them more. My webapp should use a database URL like local-pg17:, and the development web server should (indirectly through libraries) download a PostgreSQL 17 binary, start the database, and apply migrations.

The LSP should hook into that, and create a temporary database for code completion, with the migrations applied.