#318318th of 410 in Backends, databases and hosting
pg_graphql
PostgreSQL extension that generates a GraphQL API from your SQL schema
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts pg_graphql on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.pg_graphql is on your watch list. Its new releases and problems show there.
- Stars
- 3.4k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Rust
3,290 on 4 May 20263,367 on 30 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Supabase is hiring: 83 open roles
Overview
pg_graphql is a Postgres extension that reflects a GraphQL schema from existing tables, foreign keys and enums, and resolves queries inside the database. Each table gets a pageable Query entrypoint and bulk insert, update and delete mutations. Any language that can connect to Postgres can run GraphQL without a separate server or process.
Who it is for: Developers who want a GraphQL API directly on a Postgres database
Strengths
- Runs inside Postgres, so no extra server, process or client library is needed
- Schema is reflected from tables and foreign keys, including relationships and enums
- Optional name inflection converts snake_case to PascalCase and camelCase via a schema comment
- Written in Rust; Apache-2.0 licensed with documentation site and CI tests
Weaknesses
- Requires PostgreSQL 14 or newer and the ability to install extensions
- Resolution runs on the database server, adding query load to Postgres
- README does not cover auth, subscriptions or HTTP exposure; these need other tooling
What it needs
- no GPU
- Docker + Compose
- Needs PostgreSQL 14+
What changed
- v1.6.3 ↗ (opens in a new tab)Security fix
GHSA-3XWC-RJXJ-M99H. “security: quote primary key column names when building nodeId. Primary key column names were interpolated into the generated SQL unquoted, so a name needing quoting broke nodeId selection, and a name…”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Known problems
Reported, then fixed by a linked change
- Wrong introspection schema response ↗ (opens in a new tab)0 reactions · closed 7 May 2026Fixed by fix: remove double NON_NULL wrapping on byPk argument types ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Backends, databases and hosting
See all 410| Rank | Project | Score |
|---|---|---|
| #316 | robustmqRust message broker for MQTT, Kafka, NATS and AMQP on shared storage | 58 out of 100 |
| #317 | go-springSpring Boot-style dependency injection and starter framework for Go services | 58 out of 100 |
| #319 | luckyType-safe Crystal web framework with compile-time checked routes and queries | 57 out of 100 |
| #320 | webmanPHP web framework built on the workerman event-driven server | 57 out of 100 |
| #321 | popGo library for CRUD, migrations and queries on top of sqlx | 57 out of 100 |