{"full_name":"go-pg/pg","owner":"go-pg","name":"pg","shard":"1","url":"https://github.com/go-pg/pg","description":"Golang ORM with focus on PostgreSQL features and performance","homepage":"https://pg.uptrace.dev/","topics":["go","golang","orm","sql","hstore","postgresql","jsonb","database"],"tag_pages":["database","go","golang","orm","postgresql","sql"],"language":"Go","license":"BSD-2-Clause","avatar":"https://avatars.githubusercontent.com/u/7313912?v=4","created_at":"2013-04-24T12:31:41Z","pushed_at":"2026-07-10T14:43:19Z","metrics":{"stars":5779,"forks":414,"watchers":80,"issues":1085,"prs":897,"releases":15,"issues_open":111,"issues_closed":974,"prs_open":13,"prs_closed":96,"prs_merged":788,"discussions":44},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5779,5779,5779,5779,5779,5779,5779],"forks":[411,413,413,414,414,414,414],"watchers":[null,80,80,80,80,80,80],"issues_open":[null,111,111,111,111,111,111],"prs_open":[null,12,12,13,13,13,13]},"boards":{},"same_owner":[],"issues":[{"number":959,"title":"How to mock a pg.DB in tests?","comments":31,"created_at":"2018-08-20T20:53:37Z"},{"number":829,"title":"Support for geometric data types","comments":18,"created_at":"2018-04-27T11:31:42Z"},{"number":1322,"title":"Why does Relation() use Left Outer Join instead of Inner Join? Isn't Inner Join faster?","comments":10,"created_at":"2019-08-02T14:35:29Z"},{"number":287,"title":"Does it support range type?","comments":10,"created_at":"2016-08-05T05:27:13Z"},{"number":1178,"title":"Foreign key is not created when I ignore inverse side relation. ","comments":8,"created_at":"2019-04-13T22:08:31Z"},{"number":1135,"title":"Has Many relation is searching by NULL Id","comments":8,"created_at":"2019-03-13T11:19:54Z"},{"number":490,"title":"How to do prepare transaction (two-phase commit)?","comments":8,"created_at":"2017-03-16T16:39:17Z"},{"number":787,"title":"Update only changed/dirty columns","comments":7,"created_at":"2018-03-10T01:45:08Z"}],"discussions":[{"number":2019,"title":"Best configuration to tackle failover","comments":1,"category":"General","created_at":"2025-04-01T12:44:14Z"},{"number":2010,"title":"Can the go-pg specify different database drivers for different types of pg databases?","comments":1,"category":"Q&A","created_at":"2024-07-18T03:42:24Z"},{"number":2009,"title":"Can we support \"HighGo Database\"?","comments":1,"category":"Ideas","created_at":"2024-07-15T12:31:19Z"},{"number":2005,"title":"Is it safe to use *pg.DB from multiple GO routines?","comments":1,"category":"Q&A","created_at":"2024-05-29T16:12:17Z"},{"number":1999,"title":"Multiple joins not deserializing correctly","comments":0,"category":"Q&A","created_at":"2024-02-08T01:40:42Z"},{"number":1986,"title":"Maybe support for Geometric Types?","comments":0,"category":"Ideas","created_at":"2023-10-10T16:11:05Z"},{"number":1983,"title":"Performance on bulk/batch insert / update / delete","comments":1,"category":"General","created_at":"2023-08-04T23:40:20Z"},{"number":1980,"title":"How can i get data of joined table in nested object if using raw query?","comments":0,"category":"Q&A","created_at":"2023-06-08T06:57:31Z"}],"latest_release":{"name":"v10.15.1","tag":"v10.15.1","published_at":"2026-05-29T14:04:14Z","body":"**Important Security Update**\r\n\r\nThis update includes a fix for a security issue, please update to this release as soon as possible.\r\n\r\n- Fixed issue with update query values ([#2043](https://github.com/go-pg/pg/pull/2043))\r\n- Bumped golang.org/x/crypto from v0.36.0 to v0.45.0 ([#2040](https://github.com/go-pg/pg/pull/2040)) ([#2037](https://github.com/go-pg/pg/pull/2037)) ([#2038](https://github.com/go-pg/pg/pull/2038))\r\n- Fixed x/crypto/ssh security warnings ([#2039](https://github.com/go-pg/pg/pull/2039))\r\n- Bumped gopkg.in/yaml.v3 from v3.0.0 to v3.0.1 ([#2035](https://github.com/go-pg/pg/pull/2035))\r\n\r\nPlease refer to [CHANGELOG.md](https://github.com/go-pg/pg/blob/v10/CHANGELOG.md) for details\r\n\r\nThank you [@molzri3](https://github.com/molzri3) for reporting the security issue!","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}