Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

postgres-language-server

> 数据库
Open source

A Language Server for Postgres

5.2K stars0 likes1 views
WebsiteGitHub

About

A Language Server for Postgres

Overview

LSP Demo CLI Demo

This project provides a toolchain for Postgres development, built on Postgres' own parser libpg_query to ensure 100% syntax compatibility. It is built on a Server-Client architecture with a transport-agnostic design. All features can be accessed through the Language Server Protocol, a CLI, HTTP APIs, and a WebAssembly module. The goal is to make all the great Postgres tooling out there as accessible as possible, and to build anything that is missing ourselves.

The following features are available today:

  • Autocompletion & Hover
  • Syntax Diagnostics
  • Type Checking (via EXPLAIN error insights)
  • Formatting
  • Migration Linting
  • Database Linting
  • PL/pgSQL Support

Development

bash
nix develop     # or skip if not using Nix
docker-compose up -d

Acknowledgements

A big thanks to the following projects, without which this project wouldn't have been possible:

  • libpg_query: For extracting the Postgres' parser
  • Biome: For implementing a toolchain infrastructure we could copy from
  • Squawk: For the linter inspiration

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustlanguage-server-protocolpostgres

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库