Postgres Language Server
815 by kiwicopple | 102 comments on Hacker News.
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. there have been previous attempts at adding Postgres support to code editors. usually these attempts implement a generic SQL parser and then offer various "flavours" of SQL. 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. this is still in early development, and mostly useful for testers/collaborators. the majority of work is still ahead, but we've verified that the approach works. we're making it public now so that we can develop it in the open with input from the community. a lot of the credit belongs to pganalyze[1] for their work on libpg_query, and to psteinroe ( https://ift.tt/hUYDK5v ) who the creator and maintainer. [0] LSP: https://ift.tt/h8d0qAH [1] pganalyze: https://pganalyze.com/
-
U.S. Postal Service starts nationwide electric vehicle fleet, buying 9,250 EVs 444 by lxm | 336 comments on Hacker News.
-
Omg.lol: An Oasis on the Internet 678 by blakewatson | 301 comments on Hacker News.
-
By BY MATT STEVENS AND MAGGIE HABERMAN from NYT U.S. https://ift.tt/2EQzU0Y via IFTTT