For anyone struggling to manage their PL/pgSQL codebase via migration files. This is a game changer. https://github.com/t1mmen/srtd
Postgres Language Server: Initial Release
31–40 of 58 posts
Re: Postgres Language Server: Initial Release
#32Hey HN! We have released the initial version of the Postgres Language Server we started working on almost two years ago[0]. You can try it out by downloading the binary from the repo[1]. It is also available on npm, as a vscode extension and via nvim-lspconfig and mason.[2] We fell into plenty of rabbit holes along the way, but dug our way out of each. We're now using mostly pragmatic, almost naive solutions for our…
> we started working on almost two years ago Jesus, this really puts it into perspective how much effort JetBrains have put into their IDEs, which have had superb support for all popular SQL dialects for as long as I can remember. Thank you for providing the community with a FOSS alternative, because IIRC there wasn't anything remotely comparable to JetBrains up until now.
Re: Postgres Language Server: Initial Release
#33For anyone struggling to manage their PL/pgSQL codebase via migration files. This is a game changer. https://github.com/t1mmen/srtd
Re: Postgres Language Server: Initial Release
#34Re: Postgres Language Server: Initial Release
#35Re: Postgres Language Server: Initial Release
#36This is awesome. Does anyone know if it'll possible to integrate it with tools like SQLX (Rust's pseudo-ORM) to get type hinting when writing in-like SQL code within Rust, or just have it work when I'm writing SQL within a simple Python script? That would truly be next-gen.
https://discuss.python.org/t/pep750-template-strings-new-upd...
Re: Postgres Language Server: Initial Release
#37I'm wondering why have there have been no good IDE experiences so far for Postgres? Or put another way, what has been the most challenging part of building this?
Nothing I have tried so far comes close to what I'm used to with statically typed languages. One would think something as strict as Postgres would have good autocomplete by now but I've yet to find something.
Re: Postgres Language Server: Initial Release
#38I'm very happy that something like this exists! I'm wondering why have there have been no good IDE experiences so far for Postgres? Or put another way, what has been the most challenging part of building this? Nothing I have tried so far comes close to what I'm used to with statically typed languages. One would think something as strict as Postgres would have good autocomplete by now but I've yet to find something.
Re: Postgres Language Server: Initial Release
#39If so, do you have any examples, or recommendations?
Re: Postgres Language Server: Initial Release
#40Hey HN! We have released the initial version of the Postgres Language Server we started working on almost two years ago[0]. You can try it out by downloading the binary from the repo[1]. It is also available on npm, as a vscode extension and via nvim-lspconfig and mason.[2] We fell into plenty of rabbit holes along the way, but dug our way out of each. We're now using mostly pragmatic, almost naive solutions for our…