# Supabase — Postgres as a Graph Database: (Ab)using pgRouting

- Company: Supabase (supabase.com)
- Announced: 2025-02-25
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://supabase.com/blog/pgrouting-postgres-graph-database
- Record: https://forck.live/items/21374-postgres-as-a-graph-database-ab-using-pgrouting
- Subject: Supabase

Supabase's guide explains how to use the pgRouting Postgres extension for graph-based problems beyond geospatial routing, including task scheduling, resource allocation in distributed systems, and recommendation engines. It demonstrates functions like pgr_dijkstra() and pgr_astar() with examples.

## Evidence

Verbatim from https://supabase.com/blog/pgrouting-postgres-graph-database:

> pgRouting is a Postgres extension. It's often used for finding the "shortest path" between two locations, however it's a hidden gem in Postgres and can be used for basic graph functionality.

---

Record: https://forck.live/items/21374-postgres-as-a-graph-database-ab-using-pgrouting
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
