pg_ctl failed when I added a thirteenth parameter (log_temp_files). Is this documented, and I missed it?
(The purpose is to optimize for a 30-thread pg_restore of a multi-TB 9.6 database. Once it's finished, I stop/start, to enable "production" values like fsync=on.)
Arguments are not parameters. Try putting the restart argument after all parameters.
Quite irritating. "pg_ctl restart" instantly tells you what it's doing.
And still, why the limitation?
I'm thinking that the forced ordering being different than what is documented is a shell-specific issue. As for why only one of restart, stop, start, etc... can be specified for any given invocation of pg_ctl, that seems like an entirely realistic limitation and typo-preventing feature.