(prefix string, t time.Time)
| 245 | } |
| 246 | |
| 247 | func formatPrefix(prefix string, t time.Time) string { |
| 248 | return "pgtest_" + prefix + "_" + t.UTC().Format(timeFormat) + "Z_" |
| 249 | } |
| 250 | |
| 251 | // Exec executes q in the database or transaction in ctx. |
| 252 | // If there is an error, it fails t. |