GetPgContainer creates a PostgreSQL 16 container for testing.
(ctx context.Context)
| 103 | |
| 104 | // GetPgContainer creates a PostgreSQL 16 container for testing. |
| 105 | func GetPgContainer(ctx context.Context) (*Container, error) { |
| 106 | return getPgContainerWithImage(ctx, "postgres:16-alpine") |
| 107 | } |
| 108 | |
| 109 | // GetPg17Container creates a PostgreSQL 17 container for testing. PG17 is required |
| 110 | // for features absent in 16 — notably MERGE ... RETURNING. |
no test coverage detected