Go Postgres

Open-source Go projects categorized as Postgres

Top 23 Go Postgre Projects

  1. Gravitational Teleport

    The easiest, and most secure way to access and protect all of your infrastructure.

  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. migrate

    Database migrations. CLI and Golang library.

    Project mention: Full-stack auth in Go and React: email + password with Limen | dev.to | 2026-07-07

    The CLI generates migration files; applying them is up to your usual tool. With golang-migrate:

  4. goose

    A database migration tool. Supports SQL migrations and Go functions. (by pressly)

    Project mention: Go SQL Query Builder Without Dependencies: Relica, the ozzo-dbx Successor β€” What Broke on PostgreSQL and SQLite | dev.to | 2026-10-03

    Migrations. Use goose or atlas.

  5. FerretDB

    A truly Open Source MongoDB alternative

  6. usql

    Universal command-line interface for SQL databases

    Project mention: Databow: a Rust CLI for any database with an ADBC driver | news.ycombinator.com | 2026-06-05
  7. cloudnative-pg

    The most popular Kubernetes Operator for PostgreSQL.

    Project mention: The startup's Postgres survival guide | news.ycombinator.com | 2026-07-22

    If you already run k8s, why not just use cnpg?

    https://github.com/cloudnative-pg/cloudnative-pg

  8. dbmate

    πŸš€ A lightweight, framework-agnostic database migration tool.

    Project mention: spawn alternatives - dbmate, Flyway, atlas, liquibase, and goose | libhunt.com/r/saward/spawn | 2026-09-07
  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. SQLBoiler

    Generate a Go ORM tailored to your database schema.

  11. pgroll

    PostgreSQL zero-downtime migrations made easy

    Project mention: Introducing Xata OSS: Postgres platform with branching, now Apache 2.0 | dev.to | 2026-04-22

    pgroll offers zero-downtime, undoable, schema migrations for PostgreSQL

  12. river

    Fast and reliable background jobs in Go (by riverqueue)

    Project mention: Kafka Just Learned to Be a Queue. Postgres Has Been One All Along. | dev.to | 2026-10-05

    This is the part Kafka cannot match without extra machinery. If your API inserts a user and enqueues "send welcome email" in the same transaction, the job exists if and only if the user exists. River, a Go job queue backed by Postgres, makes this its core argument (River docs): with a separate queue store you either enqueue after commit and lose jobs on a crash, or enqueue before commit and have workers race a row they cannot see yet.

  13. postgres-operator

    Postgres operator creates and manages PostgreSQL clusters running in Kubernetes

  14. pREST

    PostgreSQL βž• REST, low-code, simplify and accelerate development, ⚑ instant, realtime, high-performance on any Postgres application, existing or new, MCP server

    Project mention: PREST 2.1 – REST and MCP APIs for multiple PostgreSQL databases | news.ycombinator.com | 2026-07-11
  15. redka

    Redis re-implemented with SQL

    Project mention: Redka: Redis Re-Implemented with SQL | news.ycombinator.com | 2026-02-12
  16. postgres-operator

    Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service. (by CrunchyData)

  17. wal-g

    Archival and Restoration for databases in the Cloud

    Project mention: RDS-Style Point-in-Time Recovery for Self-Hosted PostgreSQL | dev.to | 2026-10-14

    There's WAL-G, a fairly popular backup and restoration tool for multiple database engines. There's Databasus, a backup and restoration tool focused on Postgres that ships with a web UI. There's Barman, a backup and recovery manager for Postgres, solving all the same problems. And there's pgBackRest.

  18. space-cloud

    Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes

  19. jet

    Type safe SQL builder with code generation and automatic query result data mapping

    Project mention: Go SQL Query Builder Without Dependencies: Relica, the ozzo-dbx Successor β€” What Broke on PostgreSQL and SQLite | dev.to | 2026-10-03

    Compile-time type safety. If you want that, sqlc or jet are better tools.

  20. peerdb

    Fast, Simple and a cost effective tool to replicate data from Postgres to Data Warehouses, Queues and Storage

    Project mention: WAL-RUS: a Rust Rewrite of WAL-G for PostgreSQL Backups | news.ycombinator.com | 2026-06-28

    We’re big Go fans, the whole of PeerDB is written in Go: https://github.com/PeerDB-io/peerdb

    The importance of optimizing (resource) margins and having predictable memory usage increases significantly in the DBaaS/Postgres world, where your process coexists and competes with other critical workloads.

    Also, WAL-RUS isn’t rocket science. Postgres already exposes a rich set of native APIs, making development fairly straightforward even in Rust.

    TL;DR: when to choose Rust or Go really depends on the workload and what you are going after.

  21. database-lab-engine

    DBLab enables πŸ–– database branching and ⚑️ thin cloning for any Postgres database and empowers DB testing in CI/CD. This optimizes database-related costs while improving time-to-market and software quality. Follow to stay updated.

  22. goqu

    SQL builder and query library for golang

    Project mention: goqu VS qrafter - a user suggested alternative | libhunt.com/r/goqu | 2026-06-23
  23. multigres

    Vitess for Postgres

    Project mention: Neki | news.ycombinator.com | 2026-09-10

    I love how the Planetscale CEO has been shitting on multigres[0], Supabase's equivalent to Neki, and gloating about how superior Neki is, and it's not even open source!

    Sam, it feels like you're just playing games. It's hard to take anything you say or do seriously. Are you going to OSS this thing? Or have you decided to backpedal?

    Congrats on the checks notes closed launch, I guess?

    0: https://github.com/multigres/multigres

  24. pgbackweb

    🐘 Effortless PostgreSQL backups with a user-friendly web interface! πŸŒπŸ’Ύ

    Project mention: Pgbackrest is no longer being maintained | news.ycombinator.com | 2026-04-27

    Anyone looking for an alternative can try UFO Backup aka pgbackweb https://github.com/eduardolat/pgbackweb

  25. sq

    sq data wrangler

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Postgres discussion

Log in or Post with

Go Postgres related posts

  • Aurora PostgreSQL now supports querying of Apache Iceberg and Parquet data

    1 project | news.ycombinator.com | 30 Sep 2026
  • I built pistachio, a declarative schema tool for PostgreSQL

    4 projects | dev.to | 4 Sep 2026
  • Handle frequent Database Migrations in Agentic Workflows

    3 projects | dev.to | 4 Sep 2026
  • Show HN: Pistachio – Declarative schema management for PostgreSQL

    1 project | news.ycombinator.com | 5 Aug 2026
  • mAPI-ng alternatives - Grafana and opentelemetry-go

    3 projects | 26 Jul 2026
  • Show HN: Pgwd – PostgreSQL connection alerts with cron exit codes

    1 project | news.ycombinator.com | 20 Jul 2026
  • PREST 2.1 – REST and MCP APIs for multiple PostgreSQL databases

    1 project | news.ycombinator.com | 11 Jul 2026
  • A note from our sponsor - AppSignal
    www.appsignal.com | 15 Oct 2026
    Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise. Learn more β†’

Index

What are some of the best open-source Postgre projects in Go? This list will help you:

# Project Stars
1 Gravitational Teleport 20,977
2 migrate 18,960
3 goose 11,559
4 FerretDB 11,095
5 usql 10,136
6 cloudnative-pg 9,420
7 dbmate 7,446
8 SQLBoiler 6,987
9 pgroll 6,597
10 river 5,749
11 postgres-operator 5,255
12 pREST 4,618
13 redka 4,565
14 postgres-operator 4,452
15 wal-g 4,296
16 space-cloud 4,002
17 jet 3,817
18 peerdb 3,299
19 database-lab-engine 2,775
20 goqu 2,670
21 multigres 2,665
22 pgbackweb 2,640
23 sq 2,573

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com

Did you know that Go is
the 4th most popular programming language
based on number of references?