jackc/pgx
View on GitHub ↗ ★ 14,375 Go
PostgreSQL driver and toolkit for Go
22 mentions on Hacker News by 22 people: 3 stories, 19 comments · first 2016-03-31 · latest 2026-08-16
20082026
-
For sure. I mean: many – if not most – people? In my case, with Go, I have always relied on http://github.com/jackc/pgx pool, which works quite well, especially with the binary protocol.
comment by henvic · 2026-08-16 · in Does anyone run Postgres without PgBouncer? -
…library for Python [2] will automatically manage prepared statements for you. [1]: https://pkg.go.dev/github.com/jackc/pgx/v5#hdr-Prepared_Stat... [2]: https://www.psycopg.org/psycopg3/docs/advanced/prepare.html
comment by kbolino · 2026-03-04 · in Better JIT for Postgres -
Naming conflict with pgx, a popular Postgres driver for Go: https://github.com/jackc/pgx
comment by PhilippGille · 2026-01-09 · in PgX – Debug Postgres performance in the context of your application code -
I've also seen https://github.com/jackc/pgx used in many projects
comment by AlbinoDrought · 2025-12-13 · in Go is portable, until it isn't -
…query pipelining - at it seems like the popular go Postgres client library pgx supports it: https://github.com/jackc/pgx/issues/1113#event-6964024724
comment by oa335 · 2025-09-26 · in Redis is fast – I'll cache in Postgres -
▲ 2
Show HN: Pgdbtemplate – fast PostgreSQL test databases in Go using templatesstory by andrei-polukhin · 2025-09-10 · 0 comments
-
…not database/sql, for performance and extra features [0], so it's not that simple in practice. [0]: https://github.com/jackc/pgx#choosing-between-the-pgx-and-da...
comment by ibraheemdev · 2023-05-18 · in Zig now has built-in HTTP server and client in std -
Why don't you use sqlc + pgx? What's missing from the two? https://github.com/kyleconroy/sqlc https://github.com/jackc/pgx
comment by Thaxll · 2023-03-20 · in Why use Rust on the back end? -
…In Go, it's 40 lines [2] [1] https://github.com/ruby/date/blob/d21c69450a57a1931ab6190385... [2]: https://github.com/jackc/pgx/blob/a968ce3437eefc4168b39bbc4b...
comment by sa46 · 2022-11-09 · in It's not Ruby that's slow, it's your database -
…-- a great contribution to the Go gRPC ecosystem. [0]: https://github.com/authzed/spicedb [1]: https://github.com/jackc/pgx [2]: https://github.com/planetscale/vtprotobuf
comment by jzelinskie · 2022-11-01 · in One Million Database Connections -
…time causes issues when you compare the values returned due to Go setting the location property: https://github.com/jackc/pgx/issues/863 pgx doesn't seem to handle reconnects the same way lib/pg does, but I haven't tested this recently:…
comment by candiddevmike · 2021-11-23 · in Back to basics: Writing an application using Go and PostgreSQL -
…to change the import path for subsequent major versions (that is, backwards incompatible versions): https://github.com/jackc/pgx/blob/3599f646293c1b0d381214ab26... A one-line change to your modfile and the import path is changed.
comment by arghwhat · 2021-10-03 · in Effective Go -
…as well, e.g. the de facto standard Postgres driver for Go (which is by the way super fast), https://github.com/JackC/pgx
comment by _cobe_bero__ · 2020-10-30 · in Is Rust web yet? -
…Bazel, you only need dependencies for the individual subpackages. As a specific example... suppose you use github.com/jackc/pgx. With "go mod" you end up with "github.com/sirupsen/logrus" in your transitive dependencies, but with Bazel you…
comment by klodolph · 2020-09-16 · in Bazel For Open-Source C/C++ Libraries Distribution -
…with `database/sql`, so any database with database/sql driver is supported. It also works with https://github.com/jackc/pgx - specific library for PostgreSQL. Apart from the out of the box support, scany can be easily extended to work with…
comment by georgysavva · 2020-07-21 · in Show HN: Go Library for scanning data from a database into structs and more -
At first I thought it is a Postgresql driver for Go that has the same name https://github.com/jackc/pgx
comment by 3ace · 2020-07-14 · in PGX: Write Postgres extensions in Rust instead of C -
▲ 1
Use GraphQL instead of SQL to fetch complex related data from your DB in GOstory by gsvclass · 2020-04-28 · 5 comments
-
They may have been using one of the PG specific Go libraries instead too. eg https://github.com/jackc/pgx
comment by justinclift · 2020-04-24 · in Things I wished more developers knew about databases -
Sounds like pgx. Spent forever debugging this myself. https://github.com/jackc/pgx/issues/494
comment by atian · 2020-04-22 · in Things I wished more developers knew about databases -
…code take any advantage pgx[1] extra features or is it designed to use strictly database/sql? [1] https://github.com/jackc/pgx
comment by dschulz · 2019-12-11 · in Show HN: sqlc – Compile SQL Queries to Type-Safe Go -
▲ 1
Pgx: a PostgreSQL client library for Go – 73% faster than pqstory by deepanchor · 2017-02-27 · 0 comments
-
…a lot of very good design choices.† Oh, and the client drivers page should probably also list pgx ( https://github.com/jackc/pgx ), which is a nice, fast PostgreSQL client that doesn't use the not-as-nice database/sql package. ___ † The…
comment by lobster_johnson · 2016-03-31 · in CockroachDB Skitters into Beta