(t testing.TB, conn *pgx.Conn)
| 47 | } |
| 48 | |
| 49 | func closeConn(t testing.TB, conn *pgx.Conn) { |
| 50 | err := conn.Close(context.Background()) |
| 51 | if err != nil { |
| 52 | t.Fatalf("conn.Close unexpectedly failed: %v", err) |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | func mustExec(t testing.TB, conn *pgx.Conn, sql string, arguments ...any) (commandTag pgconn.CommandTag) { |
| 57 | var err error |
no test coverage detected