From a9c88a040a3c8b178e50bdd4dc5fde0012b96baf Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Thu, 30 Jul 2026 22:53:28 +0200 Subject: gsql: add context.Context argument to GSQLClose() Required for pgx.Conn.Close(). --- gsql/std.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gsql/std.go') diff --git a/gsql/std.go b/gsql/std.go index 1d61371..321f32a 100644 --- a/gsql/std.go +++ b/gsql/std.go @@ -185,7 +185,7 @@ type sqlConnectionHandle[T sqlConnection] struct { } // GSQLClose implements the [ConnectionHandle] interface. -func (h sqlConnectionHandle[T]) GSQLClose() error { +func (h sqlConnectionHandle[T]) GSQLClose(ctx context.Context) error { return h.Base.Close() } -- cgit v1.3.1