Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5fb36f0

Browse files
committed
Merge branch '221-controldata-params' into 'master'
fix: extract control data params (#221) : - not to run the control data command as a default user due to lack of permissions Closes #221 See merge request postgres-ai/database-lab!248
2 parents 78433e6 + 958b605 commit 5fb36f0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/retrieval/engine/postgres/physical/physical.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"gitlab.com/postgres-ai/database-lab/pkg/retrieval/dbmarker"
2727
"gitlab.com/postgres-ai/database-lab/pkg/retrieval/engine/postgres/tools"
2828
"gitlab.com/postgres-ai/database-lab/pkg/retrieval/engine/postgres/tools/cont"
29-
"gitlab.com/postgres-ai/database-lab/pkg/retrieval/engine/postgres/tools/defaults"
3029
"gitlab.com/postgres-ai/database-lab/pkg/retrieval/engine/postgres/tools/health"
3130
"gitlab.com/postgres-ai/database-lab/pkg/retrieval/options"
3231
"gitlab.com/postgres-ai/database-lab/pkg/services/provision/databases/postgres/pgconfig"
@@ -440,7 +439,6 @@ func pgControlDataConfig(pgDataDir string, pgVersion float64) types.ExecConfig {
440439
AttachStdout: true,
441440
AttachStderr: true,
442441
Cmd: []string{command, "-D", pgDataDir},
443-
User: defaults.Username,
444442
Env: os.Environ(),
445443
}
446444
}

0 commit comments

Comments
 (0)