{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":178576091,"defaultBranch":"master","name":"pgconn","ownerLogin":"jackc","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-03-30T15:26:30.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/94130?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1709563560.0","currentOid":""},"activityList":{"items":[{"before":"7fb9e148f80efcf193c81b047d578e8b441aee26","after":"4e2e7a040579c1999c0766642d836eb28c6e2018","ref":"refs/heads/master","pushedAt":"2024-05-09T22:57:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"fix: updating `SafeToRetry()` function to retry on wrapped errors\n\nThere is a rather unique bug when a single connection is being slammed\nwith queries. When statement caching is enabled, and the\n`deallocateInvalidatedCachedStatements()` method is called to clean up,\nthe `Pipeline.Sync()` method has the ability to error out due to the\nconnection being in-use.\n\n`connLockError` already implements the inexplicit `SafeToRetry() bool()`\ninterface, which is then checked by the `SafeToRetry()` function. In the\nevent the connection is locked due to being in use, the\n`deallocateInvalidatedCachedStatements()` method can return a wrapped\nerror that looks like:\n```\nfailed to deallocate cached statement(s): conn busy\n```\n\nWhen the `stdlib` PGX wrapper is used, it is possible for this to not\nbe retried, as it is also taking advantage of this `SafeToRetry()`\nfunction. In order to correct this and prevent future similar errors,\nthe `SafeToRetry()` function has been updated to check against the\nwrapped errors as well.","shortMessageHtmlLink":"fix: updating SafeToRetry() function to retry on wrapped errors"}},{"before":"1860f4e57204614f40d05a5c76a43e8d80fde9da","after":"7fb9e148f80efcf193c81b047d578e8b441aee26","ref":"refs/heads/master","pushedAt":"2024-05-09T21:23:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"Add bug fixes only to README","shortMessageHtmlLink":"Add bug fixes only to README"}},{"before":"e78c70521de61b7b77c0d4d5b69d8c457e1451c5","after":"1860f4e57204614f40d05a5c76a43e8d80fde9da","ref":"refs/heads/master","pushedAt":"2024-03-04T14:43:09.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"Update to go 1.17 for golang.org/x/text","shortMessageHtmlLink":"Update to go 1.17 for golang.org/x/text"}},{"before":"cfbc8b2f0759420739a474eb1248dc2f530e92fb","after":"e78c70521de61b7b77c0d4d5b69d8c457e1451c5","ref":"refs/heads/master","pushedAt":"2024-03-04T14:38:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"Update golang.org/x/crypto and golang.org/x/text","shortMessageHtmlLink":"Update golang.org/x/crypto and golang.org/x/text"}},{"before":"e82f7d1fadf5970c308d0502d196783e72467178","after":"cfbc8b2f0759420739a474eb1248dc2f530e92fb","ref":"refs/heads/master","pushedAt":"2024-03-04T14:37:06.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"Update CHANGELOG.md","shortMessageHtmlLink":"Update CHANGELOG.md"}},{"before":null,"after":"76e5ccc2c119b2369687368d608fc6d8148b1930","ref":"refs/heads/dependabot/go_modules/golang.org/x/crypto-0.17.0","pushedAt":"2023-12-19T00:10:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump golang.org/x/crypto from 0.6.0 to 0.17.0\n\nBumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.6.0 to 0.17.0.\n- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.17.0)\n\n---\nupdated-dependencies:\n- dependency-name: golang.org/x/crypto\n dependency-type: direct:production\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump golang.org/x/crypto from 0.6.0 to 0.17.0"}},{"before":"9b31034fdd66b0a937191ebd253276322ac7b8d6","after":"e82f7d1fadf5970c308d0502d196783e72467178","ref":"refs/heads/master","pushedAt":"2023-07-20T02:29:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"Release v1.14.1","shortMessageHtmlLink":"Release v1.14.1"}},{"before":"f9ad18fc86505eaa20da3b9b986efcb7cf28ca97","after":"9b31034fdd66b0a937191ebd253276322ac7b8d6","ref":"refs/heads/master","pushedAt":"2023-07-15T14:48:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"connect_timeout is not obeyed for sslmode=allow|prefer\n\nconnect_timeout given in conn string was not obeyed if sslmode is not specified or equals sslmode=allow|prefer. It took twice the amount of time specified by connect_timeout in conn string. While this behavior is correct if multi-host is provided in conn string, it doesn't look correct in case of single host. This behavior was also not matching with libpq.\n\nRef: [1672](https://github.com/jackc/pgx/issues/1672)","shortMessageHtmlLink":"connect_timeout is not obeyed for sslmode=allow|prefer"}},{"before":"4c4dc6f097ddff7fe5c8718d65d366ebd071e6d2","after":"f9ad18fc86505eaa20da3b9b986efcb7cf28ca97","ref":"refs/heads/master","pushedAt":"2023-06-28T01:20:45.534Z","pushType":"push","commitsCount":1,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"Update CI to ubuntu-20.04\n\nubuntu-18-04 is no longer available.","shortMessageHtmlLink":"Update CI to ubuntu-20.04"}},{"before":"1e1135688ea919f66b9425b5bfe06f14ef1e5285","after":"4c4dc6f097ddff7fe5c8718d65d366ebd071e6d2","ref":"refs/heads/master","pushedAt":"2023-06-24T11:41:45.581Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"jackc","name":"Jack Christensen","path":"/jackc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/94130?s=80&v=4"},"commit":{"message":"Remove language dependent check to look for TLS config.","shortMessageHtmlLink":"Remove language dependent check to look for TLS config."}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAERhFyjAA","startCursor":null,"endCursor":null}},"title":"Activity ยท jackc/pgconn"}