Overview of Postgres Language Server features
mainThe Postgres Language Server is a collection of language tools and a Language Server Protocol (LSP) implementation designed for Postgres. It is built using Postgres' own parser libpg_query to guarantee 100% syntax compatibility.
The server uses a transport-agnostic Server-Client architecture, allowing features to be accessed via both the Language Server Protocol (LSP) and a Command Line Interface (CLI).
Available features include:
- Autocompletion & Hover
- Syntax Diagnostics
- Type Checking (leveraging
EXPLAINerror insights) - Formatting
- Migration Linting
- Database Linting
- PL/pgSQL Support