Title: hey HN. this is a Language Server[0] designed specifically for Postgres. A language server adds features to IDEs (VSCode, NeoVim, etc) - features like auto-complete, go-to-definition, or documentation on hover, etc.<p>there have been previous attempts at adding Postgres support to code editors. usually these attempts implement a generic SQL parser and then offer various &quot;flavours&quot; of SQL.<p>This attempt is different because it uses the actual Postgres parser to do the heavy-lifting. This is done via libg_query, an excellent C library for accessing the PostgreSQL parser outside of the server. We feel this is a better approach because it gives developers 100% confidence in the parser, and it allows us to keep up with the rapid development of Postgres.<p>this is still in early development, and mostly useful for testers&#x2F;collaborators. the majority of work is still ahead, but we&#x27;ve verified that the approach works. we&#x27;re making it public now so that we can develop it in the open with input from the community.<p>a lot of the credit belongs to pganalyze[1] for their work on libpg_query, and to psteinroe (<a href="https:&#x2F;&#x2F;github.com&#x2F;psteinroe">https:&#x2F;&#x2F;github.com&#x2F;psteinroe</a>) who the creator and maintainer.<p>[0] LSP: <a href="https:&#x2F;&#x2F;microsoft.github.io&#x2F;language-server-protocol&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;microsoft.github.io&#x2F;language-server-protocol&#x2F;</a><p>[1] pganalyze: <a href="https:&#x2F;&#x2F;pganalyze.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;pganalyze.com&#x2F;</a>
Upvote: