feat: add hn comment to pg language server blog (#34531)

This commit is contained in:
Wen Bo Xie authored and GitHub committed 2025-03-29 22:04:51 +11:00
1 parent d2b92502c9
commit 79f82bf612
2 files changed
+1 -1

No files matched your search

@@ -173,7 +173,7 @@ To do this, we run both `tree-sitter` and `libpg_query` on them.
This is where `tree-sitter` comes in. While not as precise, it can always produce a syntax tree, even for malformed statements. This is very useful, especially for handling incomplete statements in autocompletion.
With both parsers combined, we get accurate results for valid SQL and can also deal with incomplete input. The idea to use `tree-sitter` in addition to `libpg_query` came from feedback on our previous HN post, so thank you for that:
With both parsers combined, we get accurate results for valid SQL and can also deal with incomplete input. The idea to use `tree-sitter` in addition to `libpg_query` came from [a comment on our previous Hacker News post](https://news.ycombinator.com/item?id=38570680), so thank you for that:
![Hacker News comment](/images/blog/lw14-postgres-language-server/hacker-news-comment.png)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 404 KiB