-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hello,
first of all thank you for the great tool. I am pretty new to the tool and make my first steps with it.
My environment is:
OS: Redhat Linux 8.6 x64
Kernel: 4.18.0-372.19.1.el8_6.x86_64
Shell: Bash
User: postgres
pgenv-Version: 1.3.1
In default.conf (under directory config) I changed Initdb-Flags to:
declare -a PGENV_INITDB_OPTIONS=([0]="-U" [1]="postgres" [2]="--locale" [3]="de_DE.UTF-8" [4]="--encoding" [5]="UNICODE" [6]="--data-checksums")
Unfortuntely the new parameters didn't make it to the execution. Instead the standard values in the pgenv-script are used.
Changes of initdb-parameters will be applied if I change PGENV_INITDB_OPTIONS in the pgenv-script directly.
But I think the better solution would be the expected way with the change in the config-file.
The same problem seems to occur with changes in PGENV_CONFIGURE_OPTIONS.
I tried to debug the situation a little bit and it seems to me that the changes in the config-file are visible (exported) as long as I am in the function "pgenv_configuration_load" but get lost as soon as I leave the function.
But maybe it's a mistake on my side and I'm doing something wrong.
Best regards
Kai