Refactor parameter values of postgres_node_init

Each parameter variable is created only when necessary, for either a
master of a slave node, and not all the time as it was the case until
now. This makes the code hopefully more readable and more logic.