(pgConn *pgconn.PgConn)
| 71 | } |
| 72 | |
| 73 | func stressExecParamsSelect(pgConn *pgconn.PgConn) error { |
| 74 | ctx, cancel := context.WithCancel(context.Background()) |
| 75 | defer cancel() |
| 76 | result := pgConn.ExecParams(ctx, "select * from widgets where id < $1", [][]byte{[]byte("10")}, nil, nil, nil).Read() |
| 77 | return result.Err |
| 78 | } |
| 79 | |
| 80 | func stressBatch(pgConn *pgconn.PgConn) error { |
| 81 | ctx, cancel := context.WithCancel(context.Background()) |
nothing calls this directly
no test coverage detected