A Language Server for Postgres
github.com
A Language Server for Postgres
1–10 of 24 posts
Re: A Language Server for Postgres
#2Re: A Language Server for Postgres
#3Sql Server kind of gets there with the .sqlproj and DACPAC stuff but it is quite fiddlesome to setup. I've only seen liquibase as a semi-close alternative in the FOSS space and it really just works with explicitly defined migration chains AFAICT rather than semantic diff and change generation.
I think if anyone is going to bring something like that to market, even for just postgres, it will be SupaBase.
Re: A Language Server for Postgres
#4Re: A Language Server for Postgres
#5Edit: they're right with me on this. From the README: "It is built on a Server-Client architecture with a transport-agnostic design." Way to go!
Re: A Language Server for Postgres
#6My pipe dream is a terraform-like, delcarative, cross-dialect way to manage database schemas/code. Sql Server kind of gets there with the .sqlproj and DACPAC stuff but it is quite fiddlesome to setup. I've only seen liquibase as a semi-close alternative in the FOSS space and it really just works with explicitly defined migration chains AFAICT rather than semantic diff and change generation. I think if anyone is going…
Re: A Language Server for Postgres
#7Re: A Language Server for Postgres
#8My pipe dream is a terraform-like, delcarative, cross-dialect way to manage database schemas/code. Sql Server kind of gets there with the .sqlproj and DACPAC stuff but it is quite fiddlesome to setup. I've only seen liquibase as a semi-close alternative in the FOSS space and it really just works with explicitly defined migration chains AFAICT rather than semantic diff and change generation. I think if anyone is going…
Something like https://atlasgo.io/ ?
Still not quite the right workflow IMO. I think TF nails it and that SQL things are held back by legacy thinking in the space.
Re: A Language Server for Postgres
#9My pipe dream is a terraform-like, delcarative, cross-dialect way to manage database schemas/code. Sql Server kind of gets there with the .sqlproj and DACPAC stuff but it is quite fiddlesome to setup. I've only seen liquibase as a semi-close alternative in the FOSS space and it really just works with explicitly defined migration chains AFAICT rather than semantic diff and change generation. I think if anyone is going…
Fully understanding that requires years of hands-on DBA-equivalent experience, and very few people actively have that knowledge across multiple DBMS products while also being software engineers.
My tool Skeema has offered declarative pure-SQL schema management for MySQL/MariaDB since 2016, see https://github.com/skeema/skeema, but the architecture isn't extendable to other database systems. The design is pretty specific to the first-class concerns of schema changes in MySQL/MariaDB, for example use of external OSC tools, generic sharding support, MySQL-like option handling, no need for transactional behavior since DDL isn't transactional, etc.
Lately I've been fiddling with a design for a separate more-generic/multi-DBMS product, but it's very slow going. It requires constant research into how each DBMS handles various fine details and tweaking things accordingly, because my depth of experience is in MySQL and not Postgres, sqlite, etc. At this early stage I'm not sure how it will end up.
Re: A Language Server for Postgres
#10Earlier quoted context omitted.
Something like https://atlasgo.io/ ?
Similar. But this looks like it requires generating explicit migrations. The equivalent would be if every time you wanted to make a change to your terraform, you had to plan and save the generated plan file to your repository. Still not quite the right workflow IMO. I think TF nails it and that SQL things are held back by legacy thinking in the space.