MCPcopy Create free account
hub / github.com/PostHog/duckgres / StartPostgresContainer

Function StartPostgresContainer

tests/integration/harness.go:672–680  ·  view source on GitHub ↗

StartPostgresContainer starts only the PostgreSQL comparison container.

()

Source from the content-addressed store, hash-verified

670
671// StartPostgresContainer starts only the PostgreSQL comparison container.
672func StartPostgresContainer() error {
673 if err := runDockerCompose("up", "-d", "postgres"); err != nil {
674 return fmt.Errorf("failed to start PostgreSQL container: %w", err)
675 }
676
677 // Wait for PostgreSQL to be ready
678 time.Sleep(2 * time.Second)
679 return nil
680}
681
682// StartDuckLakeInfraContainers starts the local DuckLake metadata/object-store services.
683func StartDuckLakeInfraContainers() error {

Callers 1

TestMainFunction · 0.85

Calls 1

runDockerComposeFunction · 0.85

Tested by 1

TestMainFunction · 0.68