Gold Lapel
How it works
Integrations
The Study
The Book Get Started
← The Grounds

Go & PostgreSQL

Go developers tend to care about performance, which makes the gap between database/sql and pgx's native interface all the more worth examining. Bulk inserts, query execution modes, and GORM's Preload problem.

1 Go + PostgreSQL Performance: pgx Driver Optimization2 Escaping database/sql: How pgx's Native Interface Delivers 20-63% More Throughput3 pgx QueryExecMode Explained: A Proper Guide to the Five Execution Modes4 pgx Bulk Insert Showdown: CopyFrom vs SendBatch vs Multi-Row INSERT, Benchmarked5 sqlc Batch Annotations: A Proper Deep Dive into :batchexec, :batchone, and :batchmany6 Goroutine-Based Query Batching for PostgreSQL: The 10x Throughput Pattern7 GORM Preload vs Joins: Why Your PostgreSQL Queries Are 10x Slower (and How to Fix Them)
Gold Lapel © 2026 Gold Lapel
The Waiter's correspondence
Company About Press thewaiter@goldlapel.com
Legal Terms Privacy