StartPostgresContainer starts only the PostgreSQL comparison container.
()
| 670 | |
| 671 | // StartPostgresContainer starts only the PostgreSQL comparison container. |
| 672 | func 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. |
| 683 | func StartDuckLakeInfraContainers() error { |