#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.

Stars
3.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Rust
Stars, last 30 weeks+77
4 May 2026: 3,290 stars11 May 2026: 3,298 stars18 May 2026: 3,305 stars25 May 2026: 3,309 stars1 Jun 2026: 3,313 stars8 Jun 2026: 3,320 stars15 Jun 2026: 3,322 stars22 Jun 2026: 3,326 stars29 Jun 2026: 3,327 stars6 Jul 2026: 3,328 stars13 Jul 2026: 3,330 stars20 Jul 2026: 3,331 stars27 Jul 2026: 3,332 stars3 Aug 2026: 3,336 stars10 Aug 2026: 3,337 stars17 Aug 2026: 3,337 stars24 Aug 2026: 3,338 stars31 Aug 2026: 3,340 stars7 Sept 2026: 3,341 stars14 Sept 2026: 3,343 stars21 Sept 2026: 3,348 stars28 Sept 2026: 3,350 stars5 Oct 2026: 3,353 stars12 Oct 2026: 3,354 stars19 Oct 2026: 3,356 stars26 Oct 2026: 3,359 stars2 Nov 2026: 3,361 stars9 Nov 2026: 3,364 stars16 Nov 2026: 3,365 stars23 Nov 2026: 3,366 stars30 Nov 2026: 3,367 stars

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

  1. 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

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
Also in Backends, databases and hosting
RankProjectScore
#316robustmqRust message broker for MQTT, Kafka, NATS and AMQP on shared storage Live demo ↗ (opens in a new tab)1.9k starsApache-2.058 out of 100
#317go-springSpring Boot-style dependency injection and starter framework for Go services1.8k starsApache-2.058 out of 100
#319luckyType-safe Crystal web framework with compile-time checked routes and queries2.7k starsMIT57 out of 100
#320webmanPHP web framework built on the workerman event-driven server2.7k starsMIT57 out of 100
#321popGo library for CRUD, migrations and queries on top of sqlx1.5k starsMIT57 out of 100