Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: increse port number right after start instance (#9977)
Tianzhou (天舟)070a65530833
diff --git a/backend/resources/postgres/sample_instance.go b/backend/resources/postgres/sample_instance.goindex 6457635508..be565ef298 100644--- a/backend/resources/postgres/sample_instance.go+++ b/backend/resources/postgres/sample_instance.go@@ -49,12 +49,12 @@ func StartAllSampleInstances(ctx context.Context, pgBinDir, dataDir string, portfor k, v := range dbs {slog.Info(fmt.Sprintf("Start sample instance %v at port %d", k, port+i))stopper, err := startOneSampleInstance(ctx, pgBinDir, path.Join(dataDir, "pgdata-sample", k), v, port+i, includeBatch)+ i++if err != nil {slog.Error("failed to init sample instance", log.BBError(err))continue}stoppers = append(stoppers, stopper)- i++}slog.Info("-----Sample Postgres Instance END-----")return stoppers